summaryrefslogtreecommitdiff
path: root/extra/fping/PKGBUILD
blob: 409850594129be79949731459964b46253fc207f (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
# $Id: PKGBUILD 68034 2010-02-10 15:03:09Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=fping
pkgver=2.4b2
pkgrel=3
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)
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
  chmod 4755 ${pkgdir}/usr/sbin/fping
}