summaryrefslogtreecommitdiff
path: root/extra/fping
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-10 23:13:07 +0000
committerroot <root@rshg047.dnsready.net>2011-07-10 23:13:07 +0000
commit139460a7a8b085588b699c488fd19b166db18a74 (patch)
treec7ef8dc756803db980465dd7bc9186f9c642aa50 /extra/fping
parentd1e588afc2779754c0abd1122ecf4f8e3c863d7a (diff)
Sun Jul 10 23:13:07 UTC 2011
Diffstat (limited to 'extra/fping')
-rw-r--r--extra/fping/PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/extra/fping/PKGBUILD b/extra/fping/PKGBUILD
index 409850594..e28a03f4c 100644
--- a/extra/fping/PKGBUILD
+++ b/extra/fping/PKGBUILD
@@ -1,25 +1,32 @@
-# $Id: PKGBUILD 68034 2010-02-10 15:03:09Z giovanni $
+# $Id: PKGBUILD 130929 2011-07-09 05:53:00Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=fping
pkgver=2.4b2
-pkgrel=3
+pkgrel=4
pkgdesc="A utility to ping multiple hosts at once"
arch=('i686' 'x86_64')
url="http://www.fping.com/"
license=('custom')
depends=('glibc')
-source=(http://fping.sourceforge.net/download/fping.tar.gz)
+source=("http://fping.sourceforge.net/download/${pkgname}.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" || return 1
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver\_to
+
+ make DESTDIR="${pkgdir}" install
+
+ # install license
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
chmod 4755 ${pkgdir}/usr/sbin/fping
}