updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / lib32-gtkglext / PKGBUILD
blob0a6d2f02ab72b90156896c16bb7ac830b2a02399
1 # Contributor: Sphax <zecmerquise at gmail dot com>
2 # Contributor: WAAAGH.313ph4n7 <waaagh313ph4n7@gmail.com>
3 # Maintainer: Anton Larionov <diffident dot cat at gmail dot com>
4 # Previous versions you can find here: http://codaset.com/diffycat/pkgbuilds
6 _pkgbasename=gtkglext
7 pkgname=lib32-gtkglext
8 pkgver=1.2.0
9 pkgrel=7
10 pkgdesc="OpenGL extensions for GTK+ (32-bit)"
11 arch=('x86_64')
12 url="http://gtkglext.sourceforge.net/"
13 license=('LGPL')
14 depends=('lib32-gtk2' 'lib32-mesa' 'lib32-libxmu')
15 makedepends=('gcc-multilib')
16 options=('!libtool')
17 source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${_pkgbasename}-${pkgver}.tar.bz2"
18         gtk2.20.patch)
19 md5sums=('ed7ba24ce06a8630c07f2d0ee5f04ab4'
20          'e5a87ec3f2d0e616c6f32f90c3f7237f')
22 build() {
23   export CC="gcc -m32"
24   export CXX="g++ -m32"
25   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
27   cd "${srcdir}/${_pkgbasename}-${pkgver}"
28   patch -Np1 -i "${srcdir}/gtk2.20.patch"
29   autoconf --force
30   ./configure --prefix=/usr --libdir=/usr/lib32
31   make
34 package() {
35   cd "${srcdir}/${_pkgbasename}-${pkgver}"
36   make DESTDIR="${pkgdir}" install
37   rm -rf ${pkgdir}/usr/{include,share}
40 # vim:set ts=2 sw=2 et: