# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=dzonegit pkgver=0.11 pkgrel=0 pkgdesc="Git hooks to manage a repository of DNS zones" url="https://github.com/oskar456/dzonegit" arch="noarch" license="MIT" depends="bind-tools git python3" checkdepends="py3-pytest py3-pytest-runner" source="https://github.com/oskar456/dzonegit/archive/v$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="a7841d66366882c1e85d7e9b2f1d33cb562baad0e8b988335116a8d86b60aff78362eb051f97bf4d38f9f93511a54f7ca1b9a1ed8b773798931e81cf54565d18 dzonegit-0.11.tar.gz"