diff options
Diffstat (limited to 'user/pango')
-rw-r--r-- | user/pango/APKBUILD | 34 | ||||
-rw-r--r-- | user/pango/pango.pre-deinstall | 3 | ||||
-rw-r--r-- | user/pango/pango.trigger | 4 |
3 files changed, 41 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" diff --git a/user/pango/pango.pre-deinstall b/user/pango/pango.pre-deinstall new file mode 100644 index 000000000..bcffa7c14 --- /dev/null +++ b/user/pango/pango.pre-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +exec /bin/rm -f /etc/pango/pango.modules /usr/lib/pango/*/modules.cache diff --git a/user/pango/pango.trigger b/user/pango/pango.trigger new file mode 100644 index 000000000..20e36604a --- /dev/null +++ b/user/pango/pango.trigger @@ -0,0 +1,4 @@ +#!/bin/sh + +umask 022 +/usr/bin/pango-querymodules > ${1}.cache |