blob: caead659298561449c6dd62271f0e8063a783fb1 (
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
33
|
# Maintainer: PyroPeter <pyropeter+aur@pyropeter.eu>
pkgname=yarrp-git
pkgver=r45.91bcd88
pkgrel=1
pkgdesc="High-speed Internet Topology Prober"
arch=(x86_64)
url="https://www.cmand.org/yarrp/"
license=(BSD)
depends=(zlib)
makedepends=(git)
provides=(yarrp)
conflicts=(yarrp)
source=('git+https://github.com/cmand/yarrp.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/yarrp"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/yarrp"
./bootstrap
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/yarrp"
make DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|