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

Antonio Rojas arojas at archlinux.org
Sun Sep 13 18:00:40 UTC 2020


    Date: Sunday, September 13, 2020 @ 18:00:40
  Author: arojas
Revision: 396002

archrelease: copy trunk to staging-x86_64

Added:
  qhull/repos/staging-x86_64/
  qhull/repos/staging-x86_64/PKGBUILD
    (from rev 396001, qhull/trunk/PKGBUILD)

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

Copied: qhull/repos/staging-x86_64/PKGBUILD (from rev 396001, qhull/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-09-13 18:00:40 UTC (rev 396002)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Jason Taylor <jftaylor21 at gmail.com>
+# Contributor: Darwin Bautista <djclue917 at gmail.com>
+
+pkgname=qhull
+pkgver=2020.2
+_pkgver=8.0.2
+pkgrel=1
+pkgdesc="A general dimension code for computing convex hulls and related structures"
+arch=(x86_64)
+url="http://www.qhull.org/"
+license=(custom)
+depends=(glibc)
+makedepends=(cmake)
+source=("http://www.qhull.org/download/qhull-${pkgver%.*}-src-$_pkgver.tgz")
+sha256sums=('b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_STATIC_LIBS=OFF
+  cmake --build build
+}
+
+package() { 
+  DESTDIR="$pkgdir" cmake --install build
+
+  # Install license
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list