1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: hauptmech, figo.zhang, chubtuff, lubosz
4 # Matlab bindings are not built by default to reduce dependencies.
9 pkgdesc="an OpenGL to PostScript printing library"
11 url='https://geuz.org/gl2ps/'
13 depends=('libpng' 'libgl')
14 makedepends=('cmake' 'texlive-core')
15 source=("https://geuz.org/gl2ps/src/gl2ps-${pkgver}.tgz")
16 sha512sums=('46652e1b3825ace61dbd77c4b0bf451e7671c248eb18bbd3369e2fac00056ea4cd5d2578561984313c239e3b02f78b9d9a76d963c935af65a13bc2abfc538620')
24 export FORCE_SOURCE_DATE=1 # make pdftex adhere to SOURCE_DATE_EPOCH
25 cmake ../gl2ps-$pkgver \
26 -DCMAKE_BUILD_TYPE=Release \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -DCMAKE_EXE_LINKER_FLAGS=-lm
34 make DESTDIR="$pkgdir/" install