updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / jperf / PKGBUILD
blob475eae80a7450fe93dfa64fbcb3b3e0f3a474587
1 # Maintainer Filipp Andjelo <scorp@mailueberfall.de>
3 pkgname=jperf
4 pkgver=2.0.2
5 pkgrel=2
6 pkgdesc="Frontend for Iperf, network performance benchmark"
7 url="http://xjperf.googlecode.com"
8 depends=('java-runtime' 'iperf')
9 makedepends=('unzip')
10 arch=(any)
11 source=("${url}/files/${pkgname}-${pkgver}.zip" 
12         "jperf.desktop" "jperf.sh")
13 license=('GPL')
14 md5sums=('5359ffbf9a788426c2ee309d41033d1e'
15          '4ca6316eb56b001ba0b407c05e615ab3'
16          '6d283fcc26bc0788bb4471c4f2305369')
18 build() {
20     # Create directories
21     install -d ${pkgdir}/usr/bin
22     install -d ${pkgdir}/usr/share/${pkgname}
23     install -d ${pkgdir}/usr/share/applications
24 #    install -d ${pkgdir}/usr/share/icons/hicolor/{128x128,48x48,32x32,16x16}/apps
25 #    install -d ${pkgdir}/usr/share/icons/locolor/{48x48,16x16}/apps
27     # Copy files
28     install -m644 ${srcdir}/${pkgname}-${pkgver}/lib/*.jar ${pkgdir}/usr/share/${pkgname}
29     install -m644 ${srcdir}/${pkgname}-${pkgver}/*.jar ${pkgdir}/usr/share/${pkgname}
30     install -m644 ${srcdir}/jperf.desktop ${pkgdir}/usr/share/applications/
31     install -m755 ${srcdir}/jperf.sh ${pkgdir}/usr/bin/jperf