summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2de137c65b399abd6d50840caf39331c0ae8248f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=('python-openchemistrypy-git')
_srcname='openchemistrypy'
pkgdesc='OpenChemistry python libraries.'
pkgver=0.0.22
pkgrel=1
arch=('any')
url="https://github.com/OpenChemistry/${_srcname}"
license=('BSD 3-Clause')

depends=('python' 'avogadro2-git')
makedepends=('git' 'python-setuptools')
provides=("${pkgname[0]%-git}")
conflicts=("${pkgname[0]%-git}")

source=("${_srcname}::git+${url}.git")
sha512sums=('SKIP')

package() {
    cd "${srcdir}/${_srcname}"

    python setup.py install --root="${pkgdir}" --optimize=1
}