# Maintainer: Frederik Schwan # Contributor: Daniel Micay # Contributor: Marti Raudsepp 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 }