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

Felix Yan felixonmars at archlinux.org
Fri May 1 01:38:59 UTC 2020


    Date: Friday, May 1, 2020 @ 01:38:58
  Author: felixonmars
Revision: 381992

archrelease: copy trunk to staging-x86_64

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

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

Copied: gl2ps/repos/staging-x86_64/PKGBUILD (from rev 381991, gl2ps/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-01 01:38:58 UTC (rev 381992)
@@ -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.1
+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=('bd6786578d1c19e63b64d110c93f4473babc0f23392115a4a6537df563569a461e242c079a25a6bbb4a3a7713c10291d7cc7ed5672bc1d0ee596309dfbfb3f80')
+
+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