diff options
Diffstat (limited to 'harmony/harfbuzz/APKBUILD')
-rw-r--r-- | harmony/harfbuzz/APKBUILD | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/harmony/harfbuzz/APKBUILD b/harmony/harfbuzz/APKBUILD new file mode 100644 index 000000000..caca1150d --- /dev/null +++ b/harmony/harfbuzz/APKBUILD @@ -0,0 +1,58 @@ +# Contributor: Sören Tempel <soeren+alpinelinux@soeren-tempel.net> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=harfbuzz +pkgver=1.6.3 +pkgrel=0 +pkgdesc="Text shaping library" +url="http://freedesktop.org/wiki/Software/HarfBuzz" +arch="all" +license="MIT" +depends="" +makedepends="freetype-dev glib-dev gobject-introspection-dev cairo-dev icu-dev graphite2-dev" +checkdepends="python3" +subpackages="$pkgname-dev $pkgname-icu" +source="http://www.freedesktop.org/software/$pkgname/release/$pkgname-$pkgver.tar.bz2" + +builddir="$srcdir/$pkgname-$pkgver" +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-static \ + --with-glib \ + --with-gobject \ + --with-graphite2 \ + --with-icu \ + --with-truetype + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +check() { + cd "$builddir" + make check +} + +dev() { + default_dev + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +icu() { + pkgdesc="Harfbuzz ICU support library" + replaces="harfbuzz" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/lib*icu.so.* "$subpkgdir"/usr/lib/ +} + +sha512sums="37d1a161d9074e9898d9ef6cca6dffffc725005828d700744553b0145373b69bcd3b08f507d49f4c2e05850d9275a54f15983356c547c86e5e3c202cc7cbfbe8 harfbuzz-1.6.3.tar.bz2" |