1 # $Id: PKGBUILD 79346 2010-05-03 10:44:26Z ibiru $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # Contributor: twa022 <twa022 at gmail dot com>
5 pkgname=glib2-wncksync-patch
9 pkgdesc="Common C routines used by GTK+ 2.4 and other libs"
10 url="http://www.gtk.org/"
13 depends=('pcre>=8.02')
14 makedepends=('pkgconfig')
15 provides=("${_pkgname}=${pkgver}")
16 conflicts=("${_pkgname}")
17 options=('!libtool' '!docs')
18 source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.24/glib-${pkgver}.tar.bz2
25 cd "${srcdir}/glib-${pkgver}"
26 patch -Np0 -i ${srcdir}/gio-wncksync.patch || return 1
27 ./configure --prefix=/usr --enable-static --enable-shared \
28 --with-pcre=system --disable-fam || return 1
30 make DESTDIR="${pkgdir}" install || return 1
32 install -d "${pkgdir}/etc/profile.d"
33 install -m755 "${srcdir}/glib2.sh" "${pkgdir}/etc/profile.d/" || return 1
34 install -m755 "${srcdir}/glib2.csh" "${pkgdir}/etc/profile.d/" || return 1
36 chmod 755 ${pkgdir}/usr/bin/gtester-report || return 1
39 md5sums=('6a7db81c9a2cffe6a34dadb57d7ba2d2'
40 '803017b365bd35dc20b092ce43b8c8c5'
41 '90c7b830bef4baf225c2eb8b7ead0cab'
42 '1224b871ffd8ce9931b0e673e5273d8a')