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

Antonio Rojas arojas at archlinux.org
Wed Jul 29 17:32:56 UTC 2020


    Date: Wednesday, July 29, 2020 @ 17:32:56
  Author: arojas
Revision: 392691

archrelease: copy trunk to staging-x86_64

Added:
  libcerf/repos/staging-x86_64/
  libcerf/repos/staging-x86_64/PKGBUILD
    (from rev 392690, libcerf/trunk/PKGBUILD)

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

Copied: libcerf/repos/staging-x86_64/PKGBUILD (from rev 392690, libcerf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-07-29 17:32:56 UTC (rev 392691)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libcerf
+pkgver=2.0
+pkgrel=1
+pkgdesc="Self-contained numeric library that provides an efficient and accurate implementation of complex error functions"
+arch=(x86_64)
+url="https://jugit.fz-juelich.de/mlz/libcerf/"
+license=(custom)
+depends=(glibc)
+makedepends=(cmake)
+source=(https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$pkgver/libcerf-v$pkgver.tar.gz)
+sha256sums=('c86e8b1ea18ac7747582e83dba6f42f0faea1deb5005b7ffb2e508e36b579716')
+
+build() {
+  cmake -B build -S $pkgname-v$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 $pkgname-v$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list