blob: 0318326ac0b6b49370946131f6dfb33cf11d1007 (
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
|
# Maintainer: mrxx <mrxx at cyberhome dot at>
pkgname=nat-tcp-test-git
_pkgname=NAT-TCP-test
pkgver=r25.cbb1eb5
pkgrel=1
pkgdesc="TCP established connection idle-timeout tests for NAT implementations"
arch=('x86_64' 'i686' 'aarch64')
url="https://github.com/AndersTrier/$_pkgname"
license=('unknown')
makedepends=('git')
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
make
}
package() {
install -d "$pkgdir"/usr/bin
for file in tcp-send-test tcp-recv-test tcp-keepalive-test; do
install -Dm755 "$srcdir/$_pkgname/$file" "$pkgdir/usr/bin/$file"
done
}
|