summaryrefslogtreecommitdiff
path: root/extra/gtkglext/PKGBUILD
blob: 25b17a3693d6033fa2de17b71e6b9de857d77ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 134243 2011-08-02 17:13:55Z jgc $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Ben <ben@benmazer.net>

pkgname=gtkglext
pkgver=1.2.0
pkgrel=6
pkgdesc="opengl extensions for gtk2"
arch=('i686' 'x86_64' 'mips64el')
url="http://gtkglext.sourceforge.net/"
license=('LGPL')
depends=('gtk2' 'mesa' 'libxmu')
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
  make DESTDIR="${pkgdir}" install
}