blob: fe30d7e2b8c5ba4515a744519addb4cd6ddce5e6 (
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
26
27
28
29
30
31
32
|
# Maintainer: David Plassmann <arch[at]plassmann.biz>
pkgname=xping-git
pkgrelname=xping
pkgver=195
pkgrel=4
pkgdesc="A simple ping program continiously probing multiple hosts using icmp-echo"
url="https://github.com/martintopholm/xping"
arch=('x86_64')
license=("THE BEER-WARE LICENSE")
depends=('libevent')
source=("git+https://github.com/martintopholm/xping.git")
conflicts=('xping')
md5sums=('SKIP')
install='xping.install'
CPPFLAGS="-Wall -Werror -I/usr/local/include"
build() {
cd "$pkgrelname" || exit 1
make
}
pkgver() {
cd ${srcdir}/${pkgrelname} || exit 1
git rev-list --count HEAD
}
package() {
cd "$pkgrelname" || exit 1
install -Dm4555 "$srcdir/$pkgrelname/$pkgrelname" "$pkgdir/usr/bin/$pkgrelname"
install -Dm4555 "$srcdir/$pkgrelname/$pkgrelname-http" "$pkgdir/usr/bin/$pkgrelname-http"
install -Dm444 "$srcdir/$pkgrelname/$pkgrelname.8.gz" "$pkgdir/usr/share/man/man8/$pkgrelname.8.gz"
}
|