updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / bing / PKGBUILD
blobd42f0e40d524f7cd991dc4f33a84a82a82454469
1 # Contributor: Max Resch <mxr@users.sourceforge.net>
2 # Thanks To: audrencezar
3 pkgname=bing
4 pkgver=1.1.3
5 pkgrel=3
6 pkgdesc="Measure the bandwidth between two hosts using the ICMP protocol without the need of a client/server architecture"
7 arch=('i686' 'x86_64')
8 url="http://fgouget.free.fr/bing/bing_src-readme-1st.shtml"
9 license=('BSD')
10 makedepends=(gzip patch)
11 depends=(glibc)
12 source=("https://launchpad.net/ubuntu/karmic/+source/${pkgname}/${pkgver}-2/+files/${pkgname}_${pkgver}.orig.tar.gz"
13         "https://launchpad.net/ubuntu/karmic/+source/${pkgname}/${pkgver}-2/+files/${pkgname}_${pkgver}-2.diff.gz")
14 md5sums=('fc19049101d37a6d24d883082ca25eb1' 
15         '63838857b2f9b5f71088cb455245c40c')
16 build() {
17         cd $srcdir/$pkgname-$pkgver
18         patch -p1 -i ${srcdir}/${pkgname}_${pkgver}-2.diff
19         make || return 1
20         install -D -o root -g root -m 4555 bing $pkgdir/usr/bin/bing || return 1
21         install -D -o root -g root -m 0644 unix/bing.8 $pkgdir/usr/share/man/man8/bing.8 || return 1