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

Antonio Rojas arojas at archlinux.org
Sat Sep 12 20:33:53 UTC 2020


    Date: Saturday, September 12, 2020 @ 20:33:53
  Author: arojas
Revision: 704795

archrelease: copy trunk to community-x86_64

Added:
  primecount/repos/community-x86_64/PKGBUILD
    (from rev 704794, primecount/trunk/PKGBUILD)
Deleted:
  primecount/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-12 20:33:43 UTC (rev 704794)
+++ PKGBUILD	2020-09-12 20:33:53 UTC (rev 704795)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=primecount
-pkgver=6.0
-pkgrel=1
-pkgdesc="Fast C++ prime counting function implementation"
-arch=(x86_64)
-url="https://github.com/kimwalisch/primecount"
-license=(BSD)
-depends=(openmpi primesieve)
-makedepends=(cmake)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/kimwalisch/primecount/archive/v$pkgver.tar.gz")
-sha256sums=('9f135e82c25e6ffa5223963dfc6978657966ac37c67d3ee6d10ab2362c889863')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DBUILD_LIBPRIMESIEVE=OFF \
-    -DBUILD_STATIC_LIBS=OFF \
-    -DBUILD_SHARED_LIBS=ON \
-    -DWITH_POPCNT=OFF \
-    -DWITH_FLOAT128=ON \
-    -DWITH_MPI=ON
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: primecount/repos/community-x86_64/PKGBUILD (from rev 704794, primecount/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-12 20:33:53 UTC (rev 704795)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=primecount
+pkgver=6.1
+pkgrel=1
+pkgdesc="Fast C++ prime counting function implementation"
+arch=(x86_64)
+url="https://github.com/kimwalisch/primecount"
+license=(BSD)
+depends=(openmpi primesieve)
+makedepends=(cmake)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/kimwalisch/primecount/archive/v$pkgver.tar.gz")
+sha256sums=('222bb0a17ad31f09296e2f3318a367230bcda2b82bec2613e339ba5c5e8558a0')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_LIBPRIMESIEVE=OFF \
+    -DBUILD_STATIC_LIBS=OFF \
+    -DBUILD_SHARED_LIBS=ON \
+    -DWITH_POPCNT=OFF \
+    -DWITH_FLOAT128=ON \
+    -DWITH_MPI=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 $pkgname-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


More information about the arch-commits mailing list