summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 722b2ec2aee2e800a20b333c4d6a6a029704bd73 (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
pkgbase=('python-april')
pkgname=('python-april')
_module='april'
pkgver='0.0.1a4'
pkgrel=1
pkgdesc="simplified data deserialization"
url="https://github.com/cosven/april"
depends=('python')
makedepends=('python-setuptools')
license=('unknown')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/a/april/april-${pkgver}.tar.gz")
md5sums=('69fe1df51e5e09f86401bbc6570520c7')

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

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