summaryrefslogtreecommitdiff
path: root/python-xraydb/PKGBUILD
blob: fd3a818191c562a4923c2cccdcf9a5812c487380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Erich Eckner <arch at eckner dot net>

pkgname='python-xraydb'
pkgver=4.4.1
pkgrel=1
arch=('any')
url='https://github.com/xraypy/XrayDB'
license=('Unlicense')
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=('536287c717b058d4ee964d9a00af90eac32d0292cf70b0543ab725bf99ce02d3ae8b381dfc039e4afa719628b598c469a5289ad50d83e97c6f3ae6e10966c70e')
depends=(
  'python>=3.8'
  'python<3.9'
)
makedepends=(
  'python-setuptools'
)

build() {
  cd "XrayDB-$pkgver/python"
  python setup.py build
}

package() {
  cd "XrayDB-$pkgver/python"
  python setup.py install --root="$pkgdir"
}