/lib32-ftgl/PKGBUILD
#! | 31 lines | 27 code | 4 blank | 0 comment | 0 complexity | a55713142369074dd0b65ed32d349c54 MD5 | raw file
Possible License(s): IPL-1.0, Apache-2.0, LGPL-2.0, Unlicense, MPL-2.0-no-copyleft-exception, LGPL-2.1, JSON, GPL-3.0, MPL-2.0, CC0-1.0, CC-BY-SA-3.0, LGPL-3.0, WTFPL, BSD-2-Clause, 0BSD, BitTorrent-1.0, Cube, EPL-1.0, ISC, BSD-3-Clause, AGPL-3.0, GPL-2.0, MIT, AGPL-1.0, CC-BY-3.0
- # $Id$
- # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
- # Contributor: Alexander Baldeck <alexander@archlinux.org>
- # Contributor: tobias <tobias@archlinux.org>
- pkgname=lib32-ftgl
- _pkgver=2.1.3-rc5
- pkgver=${_pkgver/-/}
- pkgrel=3
- pkgdesc="OpenGL library to use arbitrary fonts"
- arch=(i686 x86_64)
- url="http://ftgl.wiki.sourceforge.net/"
- license=(MIT)
- depends=(lib32-freetype2 lib32-mesa)
- makedepends=(doxygen glut)
- options=('!libtool')
- source=("http://downloads.sourceforge.net/ftgl/ftgl-$_pkgver.tar.bz2")
- md5sums=('c7879018cde844059495b3029b0b6503')
- build() {
- cd "$srcdir/ftgl-${_pkgver/-/~}"
- ./configure --prefix=/usr --with-pic --libdir=/usr/lib32 CXX="g++ -m32" CC="gcc -m32"
- make
- }
- package() {
- cd "$srcdir/ftgl-${_pkgver/-/~}"
- make DESTDIR="$pkgdir" install
-
- rm -rf ${pkgdir}/usr/{../etc,bin,include,share}
- }