diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/glib/APKBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD index a96c43c965..1bf81305de 100644 --- a/main/glib/APKBUILD +++ b/main/glib/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail.com> pkgname=glib -pkgver=2.22.2 +pkgver=2.22.4 pkgrel=0 pkgdesc="Common C routines used by Gtk+ and other libs" url="http://www.gtk.org" @@ -12,15 +12,23 @@ subpackages="$pkgname-doc $pkgname-dev" depends_dev="perl gettext-dev libiconv-dev pkgconfig" -build() { - cd "$srcdir/$pkgname-$pkgver" +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + cd "$_builddir" # busybox env does not handle the -w after perl. we remove it for now sed -i -e '1,1s/ -w//' gobject/glib-mkenums.in +} +build() { + cd "$_builddir" ./configure --prefix=/usr \ --mandir=/usr/share/man make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir/" install } @@ -30,4 +38,4 @@ dev() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -md5sums="846a86c74b74d5b16826aa5508940f9b glib-2.22.2.tar.bz2" +md5sums="d91bcbe27556430ddecce65086355708 glib-2.22.4.tar.bz2" |