PKGBUILDs/extra/fping/PKGBUILD

24 lines
759 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 33635 2009-04-04 14:23:43Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=fping
pkgver=2.4b2
pkgrel=3
pkgdesc="fping is different from ping in that you can specify any number of hosts on the command line"
arch=('i686' 'x86_64')
url="http://www.fping.com/"
license=('custom')
depends=('glibc')
source=(http://fping.sourceforge.net/download/fping.tar.gz)
md5sums=('d5e8be59e307cef76bc479e1684df705')
build() {
cd $srcdir/$pkgname-$pkgver\_to
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
chmod 4755 $pkgdir/usr/sbin/fping
}