summaryrefslogtreecommitdiff
path: root/community/netselect/PKGBUILD
blob: a167f9ae6ec83697560c3c0c2205b3783693135f (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
31
32
# $Id: PKGBUILD 115042 2014-07-05 05:57:26Z fyan $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=netselect
pkgver=0.3
pkgrel=3
pkgdesc="An ultrafast intelligent parallelizing binary-search implementation of ping"
arch=('i686' 'x86_64')
url="http://alumnit.ca/~apenwarr/netselect/index.html"
license=('custom')
depends=('glibc')
source=("http://apenwarr.ca/netselect/$pkgname-$pkgver.tar.gz"
        "license.txt")
md5sums=('3a3714946db2458e5db3d55373057ef2'
         '741ea171051c5cbac5ff18326c11d65e')

build() {
  cd "$srcdir/$pkgname"

  sed -i '/sudo /d' Makefile

  make
}

package() {

  install -D -m4755 "$srcdir/$pkgname"/netselect "$pkgdir"/usr/bin/netselect
  install -D -m644  "$srcdir"/license.txt \
    "$pkgdir"/usr/share/licenses/netselect/LICENSE
}