summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d4daaa4f0357dd3d9a23202b373703a29384486 (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.4
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"
}