aboutsummaryrefslogtreecommitdiffstats
path: root/community/dzonegit/APKBUILD
blob: a972af78267384a4dc4068416a936a90b6c92965 (plain) (blame)
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
26
27
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=dzonegit
pkgver=0.14
pkgrel=1
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"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-runner"
source="https://github.com/oskar456/dzonegit/archive/v$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6a881b75e7415b09e888d37b6b8b79e9ea6a7be0816984319fae9256f62f273f7edce609b69404869afaa80fe067cda59904ae362c3096da73293a7f98f0b19d  dzonegit-0.14.tar.gz"