summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97bbcc003e7d9727a4b01906900af96d0eb47dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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"
}