summaryrefslogtreecommitdiffstats
path: root/liboping/PKGBUILD
blob: c2964803842e0f00c2decc06133e1aac6f8fcdd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=liboping
pkgver=1.3.4
pkgrel=1
pkgdesc='A C library to generate ICMP echo requests, better known as "ping packets"'
arch=('i686' 'x86_64')
url="http://verplant.org/$pkgname/"
license=('GPL')
depends=('glibc')
options=('!libtool')
source=($url/files/$pkgname-$pkgver.tar.bz2)
md5sums=('208e185f75f9f8ac96e508bd9e17ef61')

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir" install

  rm -f "$pkgdir"/usr/lib/perl5/core_perl/perllocal.pod
}