summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa022edaa344c75dce1cb6bca3744813987c18a1 (plain)
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
# Maintainer: Axel Gembe <derago@gmail.com>
# Contributor: Oleksandr Natalenko <oleksandr@natalenko.name>
# Contributor: Antoine Lubineau <antoine@lubignon.info>

pkgname=dnsperf
pkgver=2.4.2
pkgrel=1
pkgdesc="Tools that measure performance of authoritative Domain Name services"
arch=('x86_64')
url="https://www.dns-oarc.net/tools/dnsperf"
license=('Apache')
depends=('bind')
source=("https://www.dns-oarc.net/files/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('be1782ada2bc735b1d3538ed2fa8fb52d917eb32538c2f0612ae60c024101c31')
sha512sums=('1ffecf7ca1dd531c42fcae828fd88aa2078c73ee09b643de09ed438647bf204f9cbd3dbc6e6757a0bb05786ce5400a556998c502fe83f2f6fc4c3eae02247fb1')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}