[arch-commits] Commit in gl2ps/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu May 7 06:09:53 UTC 2020


    Date: Thursday, May 7, 2020 @ 06:09:53
  Author: felixonmars
Revision: 382602

archrelease: copy trunk to staging-x86_64

Added:
  gl2ps/repos/staging-x86_64/
  gl2ps/repos/staging-x86_64/PKGBUILD
    (from rev 382601, gl2ps/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: gl2ps/repos/staging-x86_64/PKGBUILD (from rev 382601, gl2ps/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-07 06:09:53 UTC (rev 382602)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: hauptmech, figo.zhang, chubtuff, lubosz
+#
+# Matlab bindings are not built by default to reduce dependencies.
+
+pkgname=gl2ps
+pkgver=1.4.2
+pkgrel=1
+pkgdesc="an OpenGL to PostScript printing library"
+arch=('x86_64')
+url='https://geuz.org/gl2ps/'
+license=('LGPL')
+depends=('libpng' 'libgl')
+makedepends=('cmake' 'texlive-core')
+source=("https://geuz.org/gl2ps/src/gl2ps-${pkgver}.tgz")
+sha512sums=('46652e1b3825ace61dbd77c4b0bf451e7671c248eb18bbd3369e2fac00056ea4cd5d2578561984313c239e3b02f78b9d9a76d963c935af65a13bc2abfc538620')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../gl2ps-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_EXE_LINKER_FLAGS=-lm
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}
+


More information about the arch-commits mailing list