# $Id: PKGBUILD 198073 2013-10-30 12:38:12Z allan $ # Maintainer: Ronald van Haren # Contributor: Ben pkgname=gtkglext pkgver=1.2.0 pkgrel=9.1 pkgdesc="opengl extensions for gtk2" arch=('i686' 'x86_64' 'mips64el') url="http://gtkglext.sourceforge.net/" license=('LGPL') depends=('gtk2' 'glu' 'libxmu' 'pangox-compat') makedepends=('mesa') source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2" 'gtk2.20.patch') md5sums=('ed7ba24ce06a8630c07f2d0ee5f04ab4' 'e5a87ec3f2d0e616c6f32f90c3f7237f') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/gtk2.20.patch" ./configure --prefix=/usr \ --disable-static make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }