aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fc3c56f7fc0a75dd159fd93dd63c14b3e1f9487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pkgname=python-srcinfo
pkgver=0.0.1
pkgrel=2

pkgdesc="Simple .SRCINFO parsing library"
url='https://github.com/kyrias/python-srcinfo'
arch=('any')
license=('ISC')

depends=('python' 'python-setuptools' 'python-parse')

source=(python-srcinfo-"$pkgver".tar.gz::"https://github.com/kyrias/python-srcinfo/archive/$pkgver.tar.gz")

md5sums=('9eb6917d2cdb15dc8ac60d7074e8b777')

package() {
	cd python-srcinfo-"$pkgver"
	python setup.py install --root="$pkgdir" --optimize=1
	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}