diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-15 19:46:03 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-15 19:46:03 +0000 |
commit | a2e5883edc3a0a36bf266cd1adf38495b7b1fbaa (patch) | |
tree | 56a0f5bd80965abc12a86dc6387bbcdc4f19bced /user | |
parent | 6e7935e7f82732c5ae7b1d2dcd539eb4788c958c (diff) | |
download | packages-a2e5883edc3a0a36bf266cd1adf38495b7b1fbaa.tar.gz packages-a2e5883edc3a0a36bf266cd1adf38495b7b1fbaa.tar.bz2 packages-a2e5883edc3a0a36bf266cd1adf38495b7b1fbaa.tar.xz packages-a2e5883edc3a0a36bf266cd1adf38495b7b1fbaa.zip |
user/fontforge: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/fontforge/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/fontforge/APKBUILD b/user/fontforge/APKBUILD new file mode 100644 index 000000000..16a69b3b6 --- /dev/null +++ b/user/fontforge/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=fontforge +pkgver=2.0.20170731 +pkgrel=0 +pkgdesc="Open source font editor" +url="https://fontforge.github.io/en-US/" +arch="all" +license="GPL-3.0+ AND BSD-3-Clause" +depends="desktop-file-utils shared-mime-info" +makedepends="freetype-dev giflib-dev glib-dev libjpeg-turbo-dev + libuninameslist-dev libpng-dev libx11-dev libxml2-dev pango-dev + python3-dev tiff-dev zlib-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://github.com/fontforge/fontforge/releases/download/${pkgver/2.0./}/fontforge-dist-${pkgver/2.0./}.tar.xz" + +build() { + cd "$builddir" + PYTHON=python3 ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + # skip test 53; it doesn't work. + make check TESTSUITEFLAGS="1-52 54" +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="26f7a40714460716a24dd0229fdb027f3766bcc48db64b8993436ddcb6277898f9f3b67ad4fc0be515b2b38e01370d1c7d9ee3c6ece1be862b7d8c9882411f11 fontforge-dist-20170731.tar.xz" |