# $Id: PKGBUILD 30671 2009-03-21 08:04:20Z eric $ # Maintainer: Alexander Baldeck <alexander@archlinux.org> # Contributor: tobias <tobias@archlinux.org> pkgname=ftgl pkgver=2.1.3rc5 pkgrel=1 pkgdesc="OpenGL library to use arbitrary fonts" arch=('i686' 'x86_64') url="http://ftgl.wiki.sourceforge.net/" license=('MIT') depends=('freetype2' 'glut') makedepends=('doxygen') options=('!libtool') source=(http://downloads.sourceforge.net/ftgl/$pkgname-2.1.3-rc5.tar.bz2) md5sums=('c7879018cde844059495b3029b0b6503') build() { cd $srcdir/ftgl-2.1.3~rc5 ./configure --prefix=/usr --with-pic || return 1 make || return 1 } package() { cd $srcdir/ftgl-2.1.3~rc5 make DESTDIR=$pkgdir install || return 1 install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1 }