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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:17:02 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:17:01
  Author: felixonmars
Revision: 386231

archrelease: copy trunk to staging-x86_64

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

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

Copied: libcerf/repos/staging-x86_64/PKGBUILD (from rev 386230, libcerf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:17:01 UTC (rev 386231)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libcerf
+pkgver=1.13
+pkgrel=2
+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=('e4699f81af838aef5b3e77209fec8e9820a4f492d598fb5a070800854976a305')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-v$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/$pkgname-v$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list