From b5ab585eec029d1a78f6d66aab0f03af3770aebd Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 28 Sep 2010 12:02:17 +0000 Subject: main/gdk-pixbuf: move pixbuf loaders trigger from gtk+ --- main/gdk-pixbuf/APKBUILD | 7 ++++--- main/gdk-pixbuf/gdk-pixbuf.pre-deinstall | 3 +++ main/gdk-pixbuf/gdk-pixbuf.trigger | 3 +++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 main/gdk-pixbuf/gdk-pixbuf.pre-deinstall create mode 100644 main/gdk-pixbuf/gdk-pixbuf.trigger (limited to 'main') diff --git a/main/gdk-pixbuf/APKBUILD b/main/gdk-pixbuf/APKBUILD index 1d6cde5bc..47277f4c6 100644 --- a/main/gdk-pixbuf/APKBUILD +++ b/main/gdk-pixbuf/APKBUILD @@ -1,16 +1,17 @@ # Maintainer: Natanael Copa 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 000000000..d7497db4b --- /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 000000000..b97f005f0 --- /dev/null +++ b/main/gdk-pixbuf/gdk-pixbuf.trigger @@ -0,0 +1,3 @@ +#!/bin/sh + +gdk-pixbuf-query-loaders --update-cache -- cgit v1.2.3