1 # Contributor: ogaby < ogaby @ web dot de >
5 pkgdesc="Common C routines used by GTK+ and QT compiled with clang"
6 url="http://www.gtk.org/"
9 depends=('pcre>=8.02' 'clang>2.6')
10 makedepends=('pkgconfig')
11 options=('!libtool' '!docs')
12 source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.24/glib-${pkgver}.tar.bz2
15 sha256sums=('7b6aa2cf21e734a6092a711bf196b8d2ddc589b971f93337610c10fa4f23400d'
16 '9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
17 '8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3')
20 cd "${srcdir}/glib-${pkgver}"
21 ./configure CC=clang --prefix=/usr --enable-static --enable-shared \
22 --with-pcre=system --disable-fam || return 1
24 make DESTDIR="${pkgdir}" install || return 1
26 install -d "${pkgdir}/etc/profile.d"
27 install -m755 "${srcdir}/glib2.sh" "${pkgdir}/etc/profile.d/" || return 1
28 install -m755 "${srcdir}/glib2.csh" "${pkgdir}/etc/profile.d/" || return 1