From 33e27a4c9ca9b69586ae209ce786607dceec26a2 Mon Sep 17 00:00:00 2001 From: Ella-0 <23418164+Ella-0@users.noreply.github.com> Date: Tue, 15 Jun 2021 20:20:56 +0100 Subject: [PATCH] added freetype --- pkgs/freetype/build.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/freetype/build.sh diff --git a/pkgs/freetype/build.sh b/pkgs/freetype/build.sh new file mode 100644 index 0000000..7a8fc5e --- /dev/null +++ b/pkgs/freetype/build.sh @@ -0,0 +1,30 @@ +pkgname=freetype +pkgver=2.10.4 + +fetch() { + curl "https://download-mirror.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz + tar -xf $pkgname-$pkgver.tar.xz + mkdir $pkgname-$pkgver/build +} + +build() { + cd $pkgname-$pkgver + cd build + meson .. \ + --buildtype=release \ + --prefix=/usr \ + --libexecdir=lib + samu +} + +package() { + cd $pkgname-$pkgver + cd build + DESTDIR=$pkgdir samu install +} + +license() { + cd $pkgname-$pkgver + cat LICENSE +# cat COPYING +}