PKGBUILDs/extra/netselect/PKGBUILD

33 lines
963 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 26266 2009-02-04 18:42:21Z aaron $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=netselect
pkgver=0.3
pkgrel=2
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://alumnit.ca/~apenwarr/netselect/$pkgname-$pkgver.tar.gz
license.txt)
md5sums=('3a3714946db2458e5db3d55373057ef2'
'741ea171051c5cbac5ff18326c11d65e')
build() {
cd $srcdir/$pkgname
sed -i -e "s|sudo ||g" -e "s| #||g" Makefile
make CFLAGS="-I. $CFLAGS"|| return 1
mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man8
make BINDEST=$pkgdir/usr/bin \
MANDEST=$pkgdir/usr/share/man/man8 \
install
rm $pkgdir/usr/bin/netselect-apt #eww
install -D -m644 $srcdir/license.txt \
$pkgdir/usr/share/licenses/netselect/license.txt
}