updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / lib32-gtkglextmm / PKGBUILD
blobc6dd879e28685a1f1b102ce61dc3cf3bad9c6f38
1 # Contributor: josephgbr <rafael.f.f1 at gmail dot com>
2 _pkgbasename=gtkglextmm
3 pkgname=lib32-$_pkgbasename
4 pkgver=1.2.0
5 pkgrel=5
6 pkgdesc="Cpp C++ bindings for gtkglext (32 bit)"
7 arch=('x86_64')
8 url="http://gtkglext.sourceforge.net/"
9 license=('GPL')
10 depends=('lib32-gtkmm' 'lib32-gtkglext' "$_pkgbasename")
11 makedepends=('gcc-multilib')
12 options=('!libtool')
13 source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${_pkgbasename}-${pkgver}.tar.bz2"
14         'gdkspanfunc.patch')
15 md5sums=('27c05f4d45c5fd07b6fb0f044add3056'
16          '473e241974bd6d9c322de672b7eb4d17')
18 build() {
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'
22   make
25 package() {
26   cd ${srcdir}/${_pkgbasename}-${pkgver}
27   make DESTDIR=${pkgdir}/ install
28   rm -rf ${pkgdir}/usr/{include,share}