diff options
Diffstat (limited to 'testing/gtkglext/PKGBUILD')
-rw-r--r-- | testing/gtkglext/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/gtkglext/PKGBUILD b/testing/gtkglext/PKGBUILD new file mode 100644 index 000000000..c5b2f7937 --- /dev/null +++ b/testing/gtkglext/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 168484 2012-10-12 16:59:46Z andyrtr $ +# Maintainer: +# Contributor: Ben <ben@benmazer.net> + +pkgname=gtkglext +pkgver=1.2.0 +pkgrel=8 +pkgdesc="opengl extensions for gtk2" +arch=('i686' 'x86_64') +url="http://gtkglext.sourceforge.net/" +license=('LGPL') +depends=('gtk2' 'glu' 'libxmu') +makedepends=('mesa') +options=('!libtool') +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" + sed '/AC_PATH_XTRA/d' -i configure.in + + autoreconf --force --install + ./configure --prefix=/usr \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} |