diff options
author | Karol Babioch | 2018-02-07 17:26:48 +0100 |
---|---|---|
committer | Karol Babioch | 2018-02-07 17:26:48 +0100 |
commit | 97581105afbcd2c3cb704657358aca536450d470 (patch) | |
tree | d445cf906c246e80b055f6de3a96ae4904a97380 | |
download | aur-97581105afbcd2c3cb704657358aca536450d470.tar.gz |
Initial packaging
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9f4896959d15 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = dnsdiag + pkgdesc = DNS Diagnostics and Performance Measurement Tools + pkgver = 1.6.3 + pkgrel = 1 + url = https://dnsdiag.org/ + arch = any + license = BSD + makedepends = git + makedepends = python-setuptools + depends = python + depends = python-dnspython + depends = python-cymruwhois + source = git+https://github.com/farrokhi/dnsdiag.git#tag=v1.6.3 + sha256sums = SKIP + +pkgname = dnsdiag + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..294583881151 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/*.tar.gz +/*.tar.xz +/pkg/ +/src/ +/dnsdiag/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9134ef527ce9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Karol Babioch <karol@babioch.de> + +pkgname=('dnsdiag') +pkgver=1.6.3 +pkgrel=1 +pkgdesc='DNS Diagnostics and Performance Measurement Tools' +arch=('any') +url='https://dnsdiag.org/' +license=('BSD') +depends=('python' 'python-dnspython' 'python-cymruwhois') +makedepends=('git' 'python-setuptools') +source=("git+https://github.com/farrokhi/dnsdiag.git#tag=v$pkgver") +sha256sums=('SKIP') + +package() { + cd "$srcdir/$pkgname" + + python setup.py install --root="$pkgdir/" --optimize=1 + + install -Dm0644 LICENSE* "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + |