summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2592ffe37e0510caeb765c637fb43f8a0528e86 (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: Pavle Portic <pavle.portic@tilda.center>
pkgbase=python-fdfgen
pkgname=python-fdfgen
_module='fdfgen'
pkgver=0.16.1
pkgrel=2
pkgdesc="Library for creating FDF files"
url="http://github.com/ccnmtl/fdfgen/"
depends=('python')
makedepends=('python-setuptools')
license=('BSD')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/f/fdfgen/fdfgen-${pkgver}.tar.gz")
sha256sums=('0eda63b5eb0810843dd98437778702fb396def51090ce8a01186e5234e247f8e')

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
}