summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVlad Voronenkov2020-06-06 21:18:05 +0300
committerVlad Voronenkov2020-06-06 21:18:05 +0300
commitdee62c7c133e40b5962b3963a6753fc5b635f8b5 (patch)
tree5c123852c7621b22c7e8515245369f5e46c23e40 /PKGBUILD
downloadaur-cif2cell.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..31e770d3876
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Vlad V. Voronenkov <vladvoronenkov at yandex dot ru>
+pkgname=cif2cell
+pkgver=2.0.0a1
+pkgrel=1
+pkgdesc="A command-line tool to generate the geometrical setup for various electronic structure codes from a CIF format file."
+arch=('any')
+url="https://cif2cell.sourceforge.io/"
+license=('GPLv3')
+depends=('python3' 'python-pycifrw')
+makedepends=()
+
+source=(
+ "https://files.pythonhosted.org/packages/66/26/d1bd4f5af12adce87ea1a72bf54ec376f2a3cea3e89f1b433b9e3fe5eb8f/$pkgname-$pkgver.tar.gz"
+)
+
+build() {
+ cd -- "$srcdir/$pkgname-$pkgver"
+ python3 setup.py build
+}
+
+package() {
+ cd -- "$srcdir/$pkgname-$pkgver"
+ python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+sha256sums=('7c0e4084afff9b00c4de10d240610ace4289138238408018f619ad19fe82cf56')