blob: 5573373dc8c1dc6754fc5ddb3e5ee6361c0b0639 (
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
|
# Maintainer: Mantas Mikulėnas <grawity@gmail.com>
pkgname=natpmp
pkgver=0.2.3
pkgrel=2
pkgdesc="NAT-PMP server"
arch=(i686 x86_64)
url="https://savannah.nongnu.org/projects/natpmp/"
license=(GPL2)
depends=(iptables)
source=("https://download.savannah.gnu.org/releases/natpmp/natpmp-$pkgver.tar.gz"
"natpmp.service")
sha256sums=('ba862f71572a9e6255b495569031c224cfeaf8fce91c5c6005ed25874ffcb42c'
'3bf83ece8507f6aaabec7edf6be2d6751124598b11c23ba082389e35ece4718d')
validpgpkeys=('14BC25105C4441E5BF288F8323A23DD000F4865D') # Adrian Friedli
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -D -m 755 natpmp "$pkgdir/usr/lib/natpmp/natpmp"
install -D -m 644 natpmp.1 "$pkgdir/usr/share/man/man1/natpmp.1"
cd "$srcdir"
install -D -m 644 natpmp.service "$pkgdir/usr/lib/systemd/system/natpmp.service"
}
# vim: ts=2:sw=2:et:ft=sh
|