diff options
author | Cecil <knoppmyth@gmail.com> | 2011-12-09 17:18:27 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-12-09 17:18:27 (GMT) |
commit | c034db2c880091379f7e58c2938a9689d78fbaa9 (patch) | |
tree | 8a074205a2f3bf6ee7fb5945c53e1a1618d41973 /abs/core/fping | |
parent | 73b42144585c603fc64e7b1d6a126ceb7c486870 (diff) | |
parent | b0c5755ade92ee5b76a6d56248e64254876bc931 (diff) | |
download | linhes_pkgbuild-c034db2c880091379f7e58c2938a9689d78fbaa9.zip linhes_pkgbuild-c034db2c880091379f7e58c2938a9689d78fbaa9.tar.gz linhes_pkgbuild-c034db2c880091379f7e58c2938a9689d78fbaa9.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/fping')
-rw-r--r-- | abs/core/fping/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/fping/PKGBUILD b/abs/core/fping/PKGBUILD new file mode 100644 index 0000000..e2de78e --- /dev/null +++ b/abs/core/fping/PKGBUILD @@ -0,0 +1,32 @@ +# $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=5 +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/${pkgname}.tar.gz") +md5sums=('d5e8be59e307cef76bc479e1684df705') + +build() { + cd $srcdir/$pkgname-$pkgver\_to + + ./configure --prefix=/usr \ + --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 +} |