[arch-commits] Commit in primesieve/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Tue Jul 5 14:16:12 UTC 2022


    Date: Tuesday, July 5, 2022 @ 14:16:11
  Author: arojas
Revision: 1244685

archrelease: copy trunk to community-staging-x86_64

Added:
  primesieve/repos/community-staging-x86_64/
  primesieve/repos/community-staging-x86_64/PKGBUILD
    (from rev 1244684, primesieve/trunk/PKGBUILD)

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

Copied: primesieve/repos/community-staging-x86_64/PKGBUILD (from rev 1244684, primesieve/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-07-05 14:16:11 UTC (rev 1244685)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=primesieve
+pkgver=8.0
+pkgrel=1
+pkgdesc='Fast prime number generator'
+arch=(x86_64)
+url='https://github.com/kimwalisch/primesieve'
+license=(BSD)
+depends=(gcc-libs)
+makedepends=(cmake)
+source=(https://github.com/kimwalisch/primesieve/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('9fba723221535dbf1e30c582c5009eeb032464704da01a0c8541d8cf2a698803')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_STATIC_LIBS=OFF
+  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