1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
6 pkgdesc='Fast prime number generator'
8 url='https://github.com/kimwalisch/primesieve'
12 source=(https://github.com/kimwalisch/primesieve/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('bab3bc4a1f3247f95b83dfc494ab0ce37a370a7b05379640f58e786d8d5fba61')
16 cmake -B build -S $pkgname-$pkgver \
17 -DCMAKE_INSTALL_PREFIX=/usr \
18 -DBUILD_STATIC_LIBS=OFF
23 DESTDIR="$pkgdir" cmake --install build
25 install -Dm644 $pkgname-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/