summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d5aa8ba7a7e4e18fb20948c5ca84d8174b0c4e5 (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: Frederik Schwan <frederik dot schwan at linux dot com>
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: Marti Raudsepp <marti@juffo.org>

pkgname=namebench
pkgver=1.3
pkgrel=1
pkgdesc='Open-source DNS benchmark utility'
arch=(any)
url='http://code.google.com/p/namebench/'
license=(Apache)
depends=(python2-dnspython python2-httplib2 python2-simplejson python2-jinja
         python2-graphy)
makedepends=(git)
optdepends=('tk: gui'
            'python2-pmw: gui')
source=(namebench::git+https://github.com/google/${pkgname}.git#branch=${pkgver})
sha512sums=('SKIP')

package() {
  cd namebench
  export NO_THIRD_PARTY=true
  python2 setup.py install --root="${pkgdir}"
  cd "${pkgdir}/usr"
  mkdir share
  mv namebench share
}