diff options
-rw-r--r-- | main/gdk-pixbuf/APKBUILD | 7 | ||||
-rw-r--r-- | main/gdk-pixbuf/gdk-pixbuf.pre-deinstall | 3 | ||||
-rw-r--r-- | main/gdk-pixbuf/gdk-pixbuf.trigger | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/main/gdk-pixbuf/APKBUILD b/main/gdk-pixbuf/APKBUILD index 1d6cde5bcb..47277f4c6e 100644 --- a/main/gdk-pixbuf/APKBUILD +++ b/main/gdk-pixbuf/APKBUILD @@ -1,16 +1,17 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gdk-pixbuf pkgver=2.22.0 -pkgrel=0 +pkgrel=1 pkgdesc="GDK Pixbuf library" url="http://www.gtk.org/" license="LGPL" depends= depends_dev= makedepends="tiff-dev libpng-dev glib-dev jpeg-dev gobject-introspection" -install= +install="$pkgname.pre-deinstall" +triggers="$pkgname.trigger:/usr/lib/gdk-pixbuf-2.0/*/loaders" subpackages="$pkgname-dev $pkgname-doc" -source="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.22/gdk-pixbuf-$pkgver.tar.bz2" +source="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver diff --git a/main/gdk-pixbuf/gdk-pixbuf.pre-deinstall b/main/gdk-pixbuf/gdk-pixbuf.pre-deinstall new file mode 100644 index 0000000000..d7497db4bb --- /dev/null +++ b/main/gdk-pixbuf/gdk-pixbuf.pre-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache diff --git a/main/gdk-pixbuf/gdk-pixbuf.trigger b/main/gdk-pixbuf/gdk-pixbuf.trigger new file mode 100644 index 0000000000..b97f005f02 --- /dev/null +++ b/main/gdk-pixbuf/gdk-pixbuf.trigger @@ -0,0 +1,3 @@ +#!/bin/sh + +gdk-pixbuf-query-loaders --update-cache |