diff options
author | Ed Robinson <ed.robinson@reevoo.com> | 2017-10-09 20:14:46 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-11 09:59:53 +0000 |
commit | 588c2e3c43afbc239a610fc32ecaeda37ee87670 (patch) | |
tree | 738c1adf62a487236eaeec0d8a36b47cf56dcaa4 /testing/fontforge | |
parent | 72916d5eb21e1c97f3cd3aba1e797562a126d57b (diff) | |
download | aports-588c2e3c43afbc239a610fc32ecaeda37ee87670.tar.bz2 aports-588c2e3c43afbc239a610fc32ecaeda37ee87670.tar.xz |
testing/fontforge: new aport
Diffstat (limited to 'testing/fontforge')
-rw-r--r-- | testing/fontforge/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/fontforge/APKBUILD b/testing/fontforge/APKBUILD new file mode 100644 index 0000000000..519bf1b6c9 --- /dev/null +++ b/testing/fontforge/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Ed Robinson <ed@reevoo.com> +# Maintainer: Ed Robinson <ed@reevoo.com> +pkgname=fontforge +pkgver=20170731 +pkgrel=0 +pkgdesc="FontForge is a free (libre) font editor for Windows, Mac OS X and GNU+Linux." +url="https://github.com/fontforge/fontforge" +arch="all" +license="GPLv3" +source="https://github.com/fontforge/$pkgname/releases/download/$pkgver/$pkgname-dist-$pkgver.tar.xz" +builddir="$srcdir/$pkgname-2.0.$pkgver" +makedepends="autoconf automake libtool jpeg-dev tiff-dev libpng-dev giflib-dev libxt-dev freetype-dev libltdl libxml2-dev libuninameslist-dev libspiro-dev python-dev pango-dev cairo-dev" +subpackages="$pkgname-dev $pkgname-doc" + +prepare() { + default_prepare + + cd "$builddir" + ./bootstrap --force +} + +build() { + cd "$builddir" + ./configure --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="26f7a40714460716a24dd0229fdb027f3766bcc48db64b8993436ddcb6277898f9f3b67ad4fc0be515b2b38e01370d1c7d9ee3c6ece1be862b7d8c9882411f11 fontforge-dist-20170731.tar.xz" |