diff options
Diffstat (limited to 'extra/ftgl')
-rw-r--r-- | extra/ftgl/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/ftgl/PKGBUILD b/extra/ftgl/PKGBUILD index 494b9cd42..7ef8e07d9 100644 --- a/extra/ftgl/PKGBUILD +++ b/extra/ftgl/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 197966 2013-10-30 11:58:23Z allan $ +# $Id: PKGBUILD 211717 2014-04-23 20:50:59Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Alexander Baldeck <alexander@archlinux.org> # Contributor: tobias <tobias@archlinux.org> @@ -6,7 +6,7 @@ pkgname=ftgl _pkgver=2.1.3-rc5 pkgver=${_pkgver/-/} -pkgrel=5 +pkgrel=6 pkgdesc="OpenGL library to use arbitrary fonts" arch=(i686 x86_64) url="http://ftgl.wiki.sourceforge.net/" @@ -16,15 +16,19 @@ makedepends=('doxygen' 'mesa') source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$_pkgver.tar.bz2") md5sums=('c7879018cde844059495b3029b0b6503') -build() { - cd "$srcdir/$pkgname-${_pkgver/-/~}" +prepare() { + cd $pkgname-${_pkgver/-/\~} sed -i '/^SUBDIRS =/s/demo//' Makefile.in +} + +build() { + cd $pkgname-${_pkgver/-/\~} ./configure --prefix=/usr --with-pic --disable-static make } package() { - cd "$srcdir/$pkgname-${_pkgver/-/~}" + cd $pkgname-${_pkgver/-/\~} make DESTDIR="$pkgdir" install # FS#23283: install missing headers for OpenCascade |