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

Antonio Rojas arojas at archlinux.org
Thu Sep 20 13:31:56 UTC 2018


    Date: Thursday, September 20, 2018 @ 13:31:56
  Author: arojas
Revision: 383660

archrelease: copy trunk to community-x86_64

Added:
  libcerf/repos/community-x86_64/PKGBUILD
    (from rev 383659, libcerf/trunk/PKGBUILD)
Deleted:
  libcerf/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-20 13:31:30 UTC (rev 383659)
+++ PKGBUILD	2018-09-20 13:31:56 UTC (rev 383660)
@@ -1,26 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=libcerf
-pkgver=1.5
-pkgrel=1
-pkgdesc="Self-contained numeric library that provides an efficient and accurate implementation of complex error functions"
-arch=(x86_64)
-url="http://apps.jcns.fz-juelich.de/doku/sc/libcerf"
-license=(custom)
-depends=(glibc)
-makedepends=()
-source=(http://apps.jcns.fz-juelich.de/src/libcerf/$pkgname-$pkgver.tgz)
-sha256sums=('e36dc147e7fff81143074a21550c259b5aac1b99fc314fc0ae33294231ca5c86')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: libcerf/repos/community-x86_64/PKGBUILD (from rev 383659, libcerf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-20 13:31:56 UTC (rev 383660)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libcerf
+pkgver=1.6
+pkgrel=1
+pkgdesc="Self-contained numeric library that provides an efficient and accurate implementation of complex error functions"
+arch=(x86_64)
+url="http://apps.jcns.fz-juelich.de/doku/sc/libcerf"
+license=(custom)
+depends=(glibc)
+makedepends=(cmake)
+source=(http://apps.jcns.fz-juelich.de/src/libcerf/$pkgname-$pkgver.tgz)
+sha256sums=('43b493f3b145ac38cc7b9318c301e826510c1048d02611c5798a062c33992391')
+
+prepare() {
+  mkdir -p build
+  
+  sed -e 's|/man/|/share/man/|g' -i $pkgname-$pkgver/man/CMakeLists.txt
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list