aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/glib/APKBUILD9
-rw-r--r--main/glib/glib.trigger4
2 files changed, 11 insertions, 2 deletions
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD
index 97a9389bbd..7a8cd742a5 100644
--- a/main/glib/APKBUILD
+++ b/main/glib/APKBUILD
@@ -1,11 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glib
pkgver=2.26.0
-pkgrel=0
+pkgrel=1
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"
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"
@@ -35,7 +36,11 @@ package() {
# move the stuff in /usr/bin to the glib-dev package
dev() {
default_dev
- mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+ mkdir -p "$subpkgdir"/usr/bin/
+ cd "$pkgdir"/usr/bin
+ mv glib-genmarshal glib-gettextize glib-mkenums gobject-query \
+ gtester gtester-report \
+ "$subpkgdir"/usr/bin/
}
md5sums="9b7dc61f5e389e1cff277a6350c37397 glib-2.26.0.tar.bz2"
diff --git a/main/glib/glib.trigger b/main/glib/glib.trigger
new file mode 100644
index 0000000000..181878d067
--- /dev/null
+++ b/main/glib/glib.trigger
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/usr/bin/glib-compile-schemas "$@"
+