summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:35:10 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:35:10 (GMT)
commitccb9daefd021288219c88d451a31dc2ff1511e32 (patch)
tree40b26107a4ca26da2fd97f788f7afe9b9ab4db4c
parent86333909e8899c40db8dd522c88bb8c120761657 (diff)
downloadlinhes_pkgbuild-ccb9daefd021288219c88d451a31dc2ff1511e32.zip
linhes_pkgbuild-ccb9daefd021288219c88d451a31dc2ff1511e32.tar.gz
linhes_pkgbuild-ccb9daefd021288219c88d451a31dc2ff1511e32.tar.bz2
ftgl: upgrade
-rw-r--r--abs/core/ftgl/PKGBUILD36
1 files changed, 19 insertions, 17 deletions
diff --git a/abs/core/ftgl/PKGBUILD b/abs/core/ftgl/PKGBUILD
index 47c9eb4..73fe640 100644
--- a/abs/core/ftgl/PKGBUILD
+++ b/abs/core/ftgl/PKGBUILD
@@ -1,25 +1,27 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $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.2
-pkgrel=4
+pkgver=2.1.3rc5
+pkgrel=1
pkgdesc="OpenGL library to use arbitrary fonts"
-arch=(i686 x86_64)
-source=(http://superb-east.dl.sourceforge.net/sourceforge/ftgl/$pkgname-$pkgver.tar.gz ftgl-gcc411.patch)
-url="http://homepages.paradise.net.nz/henryj/code/"
-options=(!libtool)
-depends=(freetype2 glut)
-makedepends=(doxygen)
+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 $startdir/src/FTGL/
- patch -Np1 -i ${startdir}/src/ftgl-gcc411.patch || return 1
- cd unix
- sed -i 's|^ \$| $|g' src/Makefile
- ./configure --prefix=/usr --with-pic
+ cd $srcdir/ftgl-2.1.3~rc5
+ ./configure --prefix=/usr --with-pic || return 1
make || return 1
- make prefix=$startdir/pkg/usr install
-
}
-md5sums=('f81c0a7128192ba11e036186f9a968f2' '2a4ad16c1bfae869a8bf0ddababfd25a')
+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
+}