# Maintainer: Johannes Löthberg <johannes@kyriasis.com>

pkgname=python-srcinfo
pkgver=0.0.2
pkgrel=1

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=('d9d7c8618a4eb288fb3e19fbd14af43d')

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