diff options
-rw-r--r-- | main/pango/APKBUILD | 5 | ||||
-rw-r--r-- | main/pango/pango.post-install | 2 | ||||
-rw-r--r-- | main/pango/pango.pre-deinstall | 4 | ||||
-rw-r--r-- | main/pango/pango.trigger | 3 |
4 files changed, 7 insertions, 7 deletions
diff --git a/main/pango/APKBUILD b/main/pango/APKBUILD index e22fa68c9e..8079158052 100644 --- a/main/pango/APKBUILD +++ b/main/pango/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pango pkgver=1.36.8 -pkgrel=0 +pkgrel=1 pkgdesc="A library for layout and rendering of text" url="http://www.pango.org/" arch="all" @@ -10,7 +10,8 @@ subpackages="$pkgname-dev $pkgname-doc" depends= depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev harfbuzz-dev" makedepends="$depends_dev cairo-dev expat-dev gobject-introspection-dev" -install="pango.post-install $pkgname.pre-deinstall" +install="$pkgname.pre-deinstall" +triggers="$pkgname.trigger=/usr/lib/pango/*/modules" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" build () { diff --git a/main/pango/pango.post-install b/main/pango/pango.post-install deleted file mode 100644 index 9d7dad4ec0..0000000000 --- a/main/pango/pango.post-install +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -/usr/bin/pango-querymodules > /etc/pango/pango.modules diff --git a/main/pango/pango.pre-deinstall b/main/pango/pango.pre-deinstall index 9a59403fc5..bcffa7c145 100644 --- a/main/pango/pango.pre-deinstall +++ b/main/pango/pango.pre-deinstall @@ -1,5 +1,3 @@ #!/bin/sh -if [ -e /etc/pango/pango.modules ]; then - rm -f /etc/pango/pango.modules -fi +exec /bin/rm -f /etc/pango/pango.modules /usr/lib/pango/*/modules.cache diff --git a/main/pango/pango.trigger b/main/pango/pango.trigger new file mode 100644 index 0000000000..720a0b9a73 --- /dev/null +++ b/main/pango/pango.trigger @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/bin/pango-querymodules > ${1}.cache |