1 # Contributor: josephgbr <rafael.f.f1 at gmail dot com>
2 _pkgbasename=gtkglextmm
3 pkgname=lib32-$_pkgbasename
6 pkgdesc="Cpp C++ bindings for gtkglext (32 bit)"
8 url="http://gtkglext.sourceforge.net/"
10 depends=('lib32-gtkmm' 'lib32-gtkglext' "$_pkgbasename")
11 makedepends=('gcc-multilib')
13 source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${_pkgbasename}-${pkgver}.tar.bz2"
15 md5sums=('27c05f4d45c5fd07b6fb0f044add3056'
16 '473e241974bd6d9c322de672b7eb4d17')
19 cd ${srcdir}/${_pkgbasename}-${pkgver}
20 patch -p1 -i ${srcdir}/gdkspanfunc.patch
21 ./configure --prefix=/usr --disable-gtkglext-test --libdir=/usr/lib32 CXX='g++ -m32'
26 cd ${srcdir}/${_pkgbasename}-${pkgver}
27 make DESTDIR=${pkgdir}/ install
28 rm -rf ${pkgdir}/usr/{include,share}