1 # Submitter: Brad Arrington <bradla8@yahoo.com>
2 # Maintainer: Brad Arrington <bradla8@yahoo.com>
4 pkgbase="glib2-systemtap"
5 pkgname=glib2-systemtap
8 pkgdesc="Common C routines used by GTK+ and other libs"
9 url="http://www.gtk.org/"
12 depends=('pcre>=8.02' 'kernel26-debug-utrace')
13 makedepends=('pkgconfig' 'python2')
14 options=('!libtool' '!docs')
16 source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.28/glib-${pkgver}.tar.bz2
19 sha256sums=('557fb7c39d21b9359fbac51fd6b0b883bc97a2561c0166eef993a4078312f578'
20 '9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
21 '8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3')
24 cd "${srcdir}/glib-${pkgver}"
25 ./configure --prefix=/usr \
34 cd "${srcdir}/glib-${pkgver}"
35 sed -i 's/libglib-2.0.so.0.2800.6/usr\/lib\/libglib-2.0.so.0.2800.6/g' glib/glib.stp
36 sed -i 's/libgobject-2.0.so.0.2800.6/usr\/lib\/libgobject-2.0.so.0.2800.6/g' gobject/gobject.stp
37 make DESTDIR="${pkgdir}" install
39 install -d "${pkgdir}/etc/profile.d"
40 install -m755 "${srcdir}/glib2.sh" "${pkgdir}/etc/profile.d/"
41 install -m755 "${srcdir}/glib2.csh" "${pkgdir}/etc/profile.d/"
43 for _i in "${pkgdir}/etc/bash_completion.d/"*; do