1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
6 pkgdesc='C library for finding and handling crystal symmetries'
8 url='https://atztogo.github.io/spglib/'
12 source=(https://github.com/spglib/spglib/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('10e44a35099a0a5d0fc6ee0cdb39d472c23cb98b1f5167c0e2b08f6069f3db1e')
16 cmake -B build -S $pkgname-$pkgver \
17 -DCMAKE_INSTALL_PREFIX=/usr
22 DESTDIR="$pkgdir" cmake --install build
23 install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE