summaryrefslogtreecommitdiff
path: root/testing/ftgl
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-08 00:19:21 -0700
committerroot <root@rshg054.dnsready.net>2012-10-08 00:19:21 -0700
commit962d1e81a62d7259ccb686da1a44de2bb28e73a5 (patch)
tree49f656c84d602182eb10aff70c8e0cd4d202f15d /testing/ftgl
parent682e4a12f537d598cb116ba394ceeae1eafc281e (diff)
Mon Oct 8 00:19:21 PDT 2012
Diffstat (limited to 'testing/ftgl')
-rw-r--r--testing/ftgl/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/ftgl/PKGBUILD b/testing/ftgl/PKGBUILD
new file mode 100644
index 000000000..590190dae
--- /dev/null
+++ b/testing/ftgl/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 168280 2012-10-07 17:22:30Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Alexander Baldeck <alexander@archlinux.org>
+# Contributor: tobias <tobias@archlinux.org>
+
+pkgname=ftgl
+_pkgver=2.1.3-rc5
+pkgver=${_pkgver/-/}
+pkgrel=4
+pkgdesc="OpenGL library to use arbitrary fonts"
+arch=(i686 x86_64)
+url="http://ftgl.wiki.sourceforge.net/"
+license=(MIT)
+depends=(freetype2 mesa glu)
+makedepends=(doxygen)
+options=('!libtool')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$_pkgver.tar.bz2")
+md5sums=('c7879018cde844059495b3029b0b6503')
+
+build() {
+ cd "$srcdir/$pkgname-${_pkgver/-/~}"
+ ./configure --prefix=/usr --with-pic --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-${_pkgver/-/~}"
+ make DESTDIR="$pkgdir" install
+
+ # FS#23283: install missing headers for OpenCascade
+ install -m644 src/FT{Face,Library,Size}.h "$pkgdir/usr/include/FTGL/"
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}