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

Antonio Rojas arojas at gemini.archlinux.org
Fri Apr 8 22:43:56 UTC 2022


    Date: Friday, April 8, 2022 @ 22:43:56
  Author: arojas
Revision: 442138

archrelease: copy trunk to staging-x86_64

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

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

Copied: libcerf/repos/staging-x86_64/PKGBUILD (from rev 442137, libcerf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-04-08 22:43:56 UTC (rev 442138)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libcerf
+epoch=1
+pkgver=2.1
+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=('8a1cd8b7fae04b82a95168252129b8c1baca098a285ff8d3f25781dead14b75a')
+
+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