From 26e2d83c6fe2155e3fe082fd65afbfa9ed223b60 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 24 Feb 2020 09:04:51 +0100 Subject: python-xraydb neu --- python-xraydb/PKGBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 python-xraydb/PKGBUILD diff --git a/python-xraydb/PKGBUILD b/python-xraydb/PKGBUILD new file mode 100644 index 000000000..7f7db6cdf --- /dev/null +++ b/python-xraydb/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Erich Eckner + +pkgname='python-xraydb' +pkgver=4.3.1 +pkgrel=1 +arch=('i686' 'pentium4' 'x86_64') +url='https://github.com/xraypy/XrayDB' +license=('public domain') +pkgdesc='X-ray Reference Data in SQLite library, including a Python interface' +source=("$pkgname-$pkgver.tar.gz::https://github.com/xraypy/XrayDB/archive/$pkgver.tar.gz") +sha512sums=('cccd53716deaddefbf5fac8064f780246d732b2234954ac464417fa27ac3c9ac9aed707b6cdb66feba0e5c6bf903842ff8b4f203757631b23287b8541ff53a76') + +build() { + cd "XrayDB-$pkgver/python" + python setup.py build +} + +package() { + cd "XrayDB-$pkgver/python" + python setup.py install --root="$pkgdir" +} -- cgit v1.2.3-70-g09d2