db-move: moved d-spy from [testing] to [extra] (x86_64)
[arch-packages.git] / rinutils / trunk / PKGBUILD
blobf3e71439dacf1209d418076ae86e19569bd2723a
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=rinutils
4 pkgver=0.10.2
5 pkgrel=1
6 pkgdesc='C11 / gnu11 utilities C library'
7 arch=(any)
8 url='https://www.shlomifish.org/open-source/projects/'
9 license=(MIT)
10 depends=()
11 makedepends=(cmake)
12 source=(https://github.com/shlomif/rinutils/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
13 sha256sums=('d87fe1199722b7fa9bd508e135383ff0788fbd7d655cbef9757c23212f8c217b')
15 build() {
16   cmake -B build -S $pkgname-$pkgver \
17     -DCMAKE_INSTALL_PREFIX=/usr \
18     -DWITH_TEST_SUITE=OFF
19   cmake --build build
22 package() {
23   DESTDIR="$pkgdir" cmake --install build
24   install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/