diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-09 13:33:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-09 13:33:53 +0000 |
commit | a38a676d2703207a28f91aac8dccfb32fe9d285c (patch) | |
tree | 8bbb34e6a9adc08de4a934e8280e64f1b92c5434 /main/glib | |
parent | f80bd68bd0bd5b47fbf978ee7bd2dbd1901a08ec (diff) | |
download | aports-a38a676d2703207a28f91aac8dccfb32fe9d285c.tar.bz2 aports-a38a676d2703207a28f91aac8dccfb32fe9d285c.tar.xz |
main/glib: trigger for gio modules
Diffstat (limited to 'main/glib')
-rw-r--r-- | main/glib/APKBUILD | 4 | ||||
-rw-r--r-- | main/glib/glib.trigger | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD index 7a8cd742a5..66c79c7cfe 100644 --- a/main/glib/APKBUILD +++ b/main/glib/APKBUILD @@ -1,12 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=glib pkgver=2.26.0 -pkgrel=1 +pkgrel=2 pkgdesc="Common C routines used by Gtk+ and other libs" url="http://www.gtk.org" license='GPL' depends= -triggers="$pkgname.trigger:/usr/share/glib-2.0/schemas" +triggers="$pkgname.trigger:/usr/share/glib-2.0/schemas /usr/lib/gio/modules" makedepends="gettext-dev libiconv-dev zlib-dev bzip2-dev pkgconfig" source="http://ftp.gnome.org/pub/gnome/sources/glib/${pkgver%.*}/glib-$pkgver.tar.bz2" subpackages="$pkgname-doc $pkgname-dev" diff --git a/main/glib/glib.trigger b/main/glib/glib.trigger index 181878d067..04b9f5bd42 100644 --- a/main/glib/glib.trigger +++ b/main/glib/glib.trigger @@ -1,4 +1,13 @@ #!/bin/sh -/usr/bin/glib-compile-schemas "$@" +for i in "$@"; do + case "$i" in + */modules) + /usr/bin/gio-querymodules "$i" + ;; + */schemas) + /usr/bin/glib-compile-schemas "$i" + ;; + esac +done |