updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / glib2-wncksync-patch / PKGBUILD
blobbccbdb0776851b19d1ca0337d55cc916cad66086
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
6 _pkgname=glib2
7 pkgver=2.24.1
8 pkgrel=1
9 pkgdesc="Common C routines used by GTK+ 2.4 and other libs"
10 url="http://www.gtk.org/"
11 arch=(i686 x86_64)
12 license=('LGPL')
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
19         glib2.sh
20         glib2.csh
21         gio-wncksync.patch)
23 build() {
24   cd ${srcdir}
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
29   make || 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')