[arch-commits] Commit in spglib/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Jun 3 08:44:08 UTC 2021
Date: Thursday, June 3, 2021 @ 08:44:08
Author: arojas
Revision: 417030
archrelease: copy trunk to staging-x86_64
Added:
spglib/repos/staging-x86_64/
spglib/repos/staging-x86_64/PKGBUILD
(from rev 417029, spglib/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: spglib/repos/staging-x86_64/PKGBUILD (from rev 417029, spglib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-06-03 08:44:08 UTC (rev 417030)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=spglib
+pkgver=1.16.1
+pkgrel=2
+pkgdesc='C library for finding and handling crystal symmetries'
+arch=(x86_64)
+url='https://atztogo.github.io/spglib/'
+license=(custom)
+depends=(glibc)
+makedepends=(cmake)
+source=(https://github.com/atztogo/spglib/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('e90682239e4ef63b492fa4e44f7dbcde2e2fe2e688579d96b01f2730dfdf5b2e')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list