[arch-commits] Commit in primecount/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Feb 20 10:13:28 UTC 2020
Date: Thursday, February 20, 2020 @ 10:13:27
Author: arojas
Revision: 577038
archrelease: copy trunk to community-x86_64
Added:
primecount/repos/community-x86_64/PKGBUILD
(from rev 577037, primecount/trunk/PKGBUILD)
Deleted:
primecount/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 37 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-20 10:12:52 UTC (rev 577037)
+++ PKGBUILD 2020-02-20 10:13:27 UTC (rev 577038)
@@ -1,32 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=primecount
-pkgver=5.3
-pkgrel=1
-pkgdesc="Fast C++ prime counting function implementation"
-arch=(x86_64)
-url="https://github.com/kimwalisch/primecount"
-license=(BSD)
-depends=(gcc-libs)
-makedepends=(cmake)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/kimwalisch/primecount/archive/v$pkgver.tar.gz")
-sha256sums=('4de334432378d0a195883894faca3f2aeebd2b37ca6aa973ffbb33bd795c0f30')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=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 577037, primecount/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-20 10:13:27 UTC (rev 577038)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=primecount
+pkgver=5.3
+pkgrel=2
+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=('4de334432378d0a195883894faca3f2aeebd2b37ca6aa973ffbb33bd795c0f30')
+
+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/
+}
More information about the arch-commits
mailing list