summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/gtkglext/PKGBUILD
blob: a310af6da27b043b454053a8ebdef2cc2b83aa5c (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
# $Id: PKGBUILD 9958 2008-08-21 02:56:50Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Ben <ben@benmazer.net>

pkgname=gtkglext
pkgver=1.2.0
pkgrel=1
pkgdesc="opengl extensions for gtk2"
arch=('i686' 'x86_64')
url="http://gtkglext.sourceforge.net/"
depends=('gtk2' 'pango')
makedepends=('gcc>=4.0.3')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/gtkglext/$pkgname-$pkgver.tar.bz2") # $pkgname-$pkgver-pangox.patch)
md5sums=('ed7ba24ce06a8630c07f2d0ee5f04ab4')

build() {
  cd $startdir/src/$pkgname-$pkgver
  # fix "undefined reference to `pango_x_font*" trouble
  #cat $startdir/src/$pkgname-$pkgver-pangox.patch | patch -p1 || return 1
  autoconf --force
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}