PageRenderTime 44ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/lib32-ftgl/PKGBUILD

https://bitbucket.org/axil42/aur-mirror
#! | 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
  1. # $Id$
  2. # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
  3. # Contributor: Alexander Baldeck <alexander@archlinux.org>
  4. # Contributor: tobias <tobias@archlinux.org>
  5. pkgname=lib32-ftgl
  6. _pkgver=2.1.3-rc5
  7. pkgver=${_pkgver/-/}
  8. pkgrel=3
  9. pkgdesc="OpenGL library to use arbitrary fonts"
  10. arch=(i686 x86_64)
  11. url="http://ftgl.wiki.sourceforge.net/"
  12. license=(MIT)
  13. depends=(lib32-freetype2 lib32-mesa)
  14. makedepends=(doxygen glut)
  15. options=('!libtool')
  16. source=("http://downloads.sourceforge.net/ftgl/ftgl-$_pkgver.tar.bz2")
  17. md5sums=('c7879018cde844059495b3029b0b6503')
  18. build() {
  19. cd "$srcdir/ftgl-${_pkgver/-/~}"
  20. ./configure --prefix=/usr --with-pic --libdir=/usr/lib32 CXX="g++ -m32" CC="gcc -m32"
  21. make
  22. }
  23. package() {
  24. cd "$srcdir/ftgl-${_pkgver/-/~}"
  25. make DESTDIR="$pkgdir" install
  26. rm -rf ${pkgdir}/usr/{../etc,bin,include,share}
  27. }