summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d07740dbdae93994a8430123ef9a6e0dd550c9a (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
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com

pkgname=python-propka
_name=${pkgname#python-}
pkgver=3.4.0
pkgrel=1
pkgdesc="Heuristic pKa calculations with ligands"
arch=(any)
url="http://pypi.python.org/pypi/${_name}"
license=(BSD)
depends=('python>=3.6')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('f19c2e145faa7eab000ce056a9058b8a30adba6970705047bb4fb7ba7570b020')
options=(!emptydirs)

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

package() {
    cd "${srcdir}/${_name}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}