summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/glib2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/glib2/PKGBUILD')
-rw-r--r--abs/core-testing/glib2/PKGBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/abs/core-testing/glib2/PKGBUILD b/abs/core-testing/glib2/PKGBUILD
index 3e4abd7..f8696a4 100644
--- a/abs/core-testing/glib2/PKGBUILD
+++ b/abs/core-testing/glib2/PKGBUILD
@@ -1,32 +1,30 @@
-# $Id: PKGBUILD 7524 2008-08-02 20:27:35Z jgc $
+# $Id: PKGBUILD 19622 2008-11-28 19:19:41Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=glib2
-pkgver=2.16.5
+pkgver=2.18.3
pkgrel=1
pkgdesc="Common C routines used by GTK+ 2.4 and other libs"
url="http://www.gtk.org/"
arch=(i686 x86_64)
license=('LGPL')
-depends=('pcre>=7.7')
+depends=('pcre>=7.8')
makedepends=('pkgconfig')
-options=('!libtool')
-source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.16/glib-${pkgver}.tar.bz2
- gkeyfile-bool-nocase.patch
+options=('!libtool' '!docs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.18/glib-${pkgver}.tar.bz2
glib2.sh
glib2.csh)
-md5sums=('039f02d47d4071322a3f00abf031e5d9'
- '5ca65611e824662146369e814d49ad06'
+md5sums=('f13996a7bd57525d796a6593f26a7771'
'803017b365bd35dc20b092ce43b8c8c5'
'90c7b830bef4baf225c2eb8b7ead0cab')
build() {
- cd ${startdir}/src/glib-${pkgver}
- patch -Np0 -i ${startdir}/src/gkeyfile-bool-nocase.patch || return 1
+ cd "${srcdir}/glib-${pkgver}"
./configure --prefix=/usr --enable-static --enable-shared --with-pcre=system --disable-fam || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ make DESTDIR="${pkgdir}" install || return 1
- install -d -m755 ${startdir}/pkg/etc/profile.d
- install -m755 ${startdir}/src/glib2.{csh,sh} ${startdir}/pkg/etc/profile.d/ || return 1
+ install -d -m755 "${pkgdir}/etc/profile.d"
+ install -m755 "${srcdir}/glib2.sh" "${pkgdir}/etc/profile.d/" || return 1
+ install -m755 "${srcdir}/glib2.csh" "${pkgdir}/etc/profile.d/" || return 1
}