upgpkg: maxima 5.46.0-9 (sbcl rebuild)
[arch-packages.git] / spglib / trunk / PKGBUILD
blobae32a4e2debf5f13ee761742536b1712502e72fd
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=spglib
4 pkgver=2.0.2
5 pkgrel=1
6 pkgdesc='C library for finding and handling crystal symmetries'
7 arch=(x86_64)
8 url='https://atztogo.github.io/spglib/'
9 license=(custom)
10 depends=(gcc-libs)
11 makedepends=(cmake)
12 source=(https://github.com/spglib/spglib/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('10e44a35099a0a5d0fc6ee0cdb39d472c23cb98b1f5167c0e2b08f6069f3db1e')
15 build() {
16   cmake -B build -S $pkgname-$pkgver \
17     -DCMAKE_INSTALL_PREFIX=/usr
18   cmake --build build
21 package() {
22   DESTDIR="$pkgdir" cmake --install build
23   install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE