upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / primesieve / trunk / PKGBUILD
blob73b38f39efa466d5ca385d825cd865944e786ee1
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=primesieve
4 pkgver=11.1
5 pkgrel=1
6 pkgdesc='Fast prime number generator'
7 arch=(x86_64)
8 url='https://github.com/kimwalisch/primesieve'
9 license=(BSD)
10 depends=(gcc-libs)
11 makedepends=(cmake)
12 source=(https://github.com/kimwalisch/primesieve/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('bab3bc4a1f3247f95b83dfc494ab0ce37a370a7b05379640f58e786d8d5fba61')
15 build() {
16   cmake -B build -S $pkgname-$pkgver \
17     -DCMAKE_INSTALL_PREFIX=/usr \
18     -DBUILD_STATIC_LIBS=OFF
19   cmake --build build
22 package() {
23   DESTDIR="$pkgdir" cmake --install build
25   install -Dm644 $pkgname-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/