diff options
Diffstat (limited to 'user/pango/APKBUILD')
-rw-r--r-- | user/pango/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/pango/APKBUILD b/user/pango/APKBUILD new file mode 100644 index 000000000..f2f8db1a3 --- /dev/null +++ b/user/pango/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: +pkgname=pango +pkgver=1.42.1 +pkgrel=0 +pkgdesc="Library for laying out and rendering text" +url="https://www.pango.org/" +arch="all" +options="!check" # no tests available +license="LGPL-2.1+" +subpackages="$pkgname-dev $pkgname-doc" +makedepends="$depends_dev cairo-dev expat-dev fontconfig-dev freetype-dev + fribidi-dev glib-dev gobject-introspection-dev harfbuzz-dev libxft-dev" +install="$pkgname.pre-deinstall" +triggers="$pkgname.trigger=/usr/lib/pango/*/modules" +source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" + +build () { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir"/etc/pango + make DESTDIR="$pkgdir" install +} + +sha512sums="70f0519fdcb896880a9552ed1f3ef85e3e7b99a161818e7c3a5ac851b64366544393546336bfdc1d66ecfc1aa4791b65ff4182ca9f6e93455ca154fbc9cbef80 pango-1.42.1.tar.xz" |