mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
main/glib: add trigger to compile schemas
This commit is contained in:
parent
9d964bea3d
commit
86c997fd2a
@ -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"
|
||||
|
||||
4
main/glib/glib.trigger
Normal file
4
main/glib/glib.trigger
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/bin/glib-compile-schemas "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user