diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cf8c102a1eee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Johan Svensson <johan@loxley.se> +pkgname=xping +pkgver=1.3 +pkgrel=1 +pkgdesc="A simple ping program continiously probing multiple hosts using icmp-echo" +url="https://github.com/martintopholm/xping" +arch=('any') +license="THE BEER-WARE LICENSE" +depends=('libevent') +source=("git://github.com/martintopholm/$pkgname.git#tag=v$pkgver") +md5sums=('SKIP') +install='xping.install' +CPPFLAGS="-Wall -Werror -I/usr/local/include" + +build() { + cd "$pkgname" + make +} + +package() { + cd "$pkgname" + install -Dm4555 "$srcdir/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm444 "$srcdir/$pkgname/$pkgname.8.gz" "$pkgdir/usr/share/man/man8/$pkgname.8.gz" +} |