PKGBUILDs/extra/gtkglext/PKGBUILD

27 lines
842 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 34159 2009-04-07 02:43:56Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=gtkglext
pkgver=1.2.0
pkgrel=2
pkgdesc="opengl extensions for gtk2"
arch=('i686' 'x86_64')
url="http://gtkglext.sourceforge.net/"
license=('LGPL')
depends=('gtk2' 'mesa' 'libxmu')
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 $srcdir/$pkgname-$pkgver
# fix "undefined reference to `pango_x_font*" trouble
#cat $startdir/src/$pkgname-$pkgver-pangox.patch | patch -p1 || return 1
autoconf --force || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}