blob: 785e5aa7da052855c0dc07189f10aed5f0f3a6c9 (
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
28
29
30
|
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
# 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='https://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=("git+https://github.com/google/${pkgname}.git#branch=${pkgver}")
b2sums=('SKIP')
build() {
cd ${pkgname}
python2 setup.py build
}
package() {
cd ${pkgname}
NO_THIRD_PARTY=true python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1
mkdir "${pkgdir}"/usr/share
mv "${pkgdir}"/usr/namebench "${pkgdir}"/usr/share
}
|