diff options
author | Tomas Krizek | 2019-01-14 16:14:22 +0100 |
---|---|---|
committer | Tomas Krizek | 2019-01-14 16:16:40 +0100 |
commit | 57aa3ef3c4410232830ae86b7685a0608cdecf96 (patch) | |
tree | 1b9f040fed5b507cf30e5b6106b2dac4fa58bb1f | |
download | aur-57aa3ef3c4410232830ae86b7685a0608cdecf96.tar.gz |
initial package from git using Python 3
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 35 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..327132fbc206 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = dnsviz-git + pkgdesc = Tool suite for analysis and visualization of DNS and DNSSEC + pkgver = v0.6.5.r162.82aa568 + pkgrel = 1 + url = https://github.com/dnsviz/dnsviz + arch = any + license = GPL2 + makedepends = git + depends = python + depends = python-dnspython + depends = python-pygraphviz + depends = python-m2crypto + optdepends = python-libnacl: verify ed25519 signatures + optdepends = bind: needed for some options involving zone files + provides = dnsviz + conflicts = dnsviz + options = !emptydirs + source = git+https://github.com/dnsviz/dnsviz.git + md5sums = SKIP + +pkgname = dnsviz-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..75d2b6f3f66e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Tomas Krizek <tomas.krizek@nic.cz> + +pkgname=dnsviz-git +pkgver=v0.6.5.r162.82aa568 +pkgrel=1 +pkgdesc="Tool suite for analysis and visualization of DNS and DNSSEC" +arch=('any') +url="https://github.com/dnsviz/dnsviz" +license=('GPL2') +depends=('python' 'python-dnspython' 'python-pygraphviz' 'python-m2crypto') +makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion' +optdepends=('python-libnacl: verify ed25519 signatures' + 'bind: needed for some options involving zone files') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +options=(!emptydirs) +source=('git+https://github.com/dnsviz/dnsviz.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" +} + +build() { + cd "$srcdir/${pkgname%-git}" + python setup.py build +} + +package() { + cd "$srcdir/${pkgname%-git}" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |