1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Alexander Baldeck <alexander@archlinux.org>
3 # Contributor: tobias <tobias@archlinux.org>
9 pkgdesc="OpenGL library to use arbitrary fonts"
11 url="https://github.com/frankheckenbach/ftgl"
13 depends=(freetype2 glu)
14 makedepends=(doxygen mesa graphviz git)
15 _commit=483639219095ad080538e07ceb5996de901d4e74 # tags/v2.4.0
16 source=("git+https://github.com/frankheckenbach/ftgl#commit=$_commit")
21 git describe --tags | sed 's/^v//;s/-/+/g'
26 printf '%s\n' >>docs/doxygen.cfg.in \
27 HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
33 ./configure --prefix=/usr --with-pic --disable-static
39 make DESTDIR="$pkgdir" install
41 # FS#23283: install missing headers for OpenCascade
42 install -Dt "$pkgdir/usr/include/FTGL" -m644 src/FT{Face,Size}.h
44 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING