aboutsummaryrefslogtreecommitdiffstats
path: root/main/glib/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-08 06:09:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-08 06:10:32 +0000
commit86c997fd2ae3c6e065b661f22f11368a24cd0edb (patch)
tree0081e318f9b6471568cde7191674e88a76dacdb0 /main/glib/APKBUILD
parent9d964bea3dacb44d4602dc5679d765f1af1e59d5 (diff)
downloadaports-86c997fd2ae3c6e065b661f22f11368a24cd0edb.tar.bz2
aports-86c997fd2ae3c6e065b661f22f11368a24cd0edb.tar.xz
main/glib: add trigger to compile schemas
Diffstat (limited to 'main/glib/APKBUILD')
-rw-r--r--main/glib/APKBUILD9
1 files changed, 7 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"