summaryrefslogtreecommitdiff
path: root/extra/gtkglext/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtkglext/PKGBUILD')
-rw-r--r--extra/gtkglext/PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/extra/gtkglext/PKGBUILD b/extra/gtkglext/PKGBUILD
index 50170f6a3..cb5edb812 100644
--- a/extra/gtkglext/PKGBUILD
+++ b/extra/gtkglext/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 134243 2011-08-02 17:13:55Z jgc $
-# Maintainer: damir <damir@archlinux.org>
+# $Id: PKGBUILD 148772 2012-02-05 11:49:55Z ibiru $
+# Maintainer:
# Contributor: Ben <ben@benmazer.net>
pkgname=gtkglext
pkgver=1.2.0
-pkgrel=6
+pkgrel=7
pkgdesc="opengl extensions for gtk2"
arch=('i686' 'x86_64')
url="http://gtkglext.sourceforge.net/"
@@ -12,16 +12,24 @@ license=('LGPL')
depends=('gtk2' 'mesa' 'libxmu')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2"
- gtk2.20.patch)
+ '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
+ ./configure --prefix=/usr \
+ --disable-static
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
make DESTDIR="${pkgdir}" install
}