aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tunnel/APKBUILD
blob: baaee044eb6ac2839ad1bfea4134b06254baebc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=tunnel
pkgver=0.1
pkgrel=1
pkgdesc="Script for configuring tunnel interfaces"
url=http://git.alpinelinux.org/cgit/aports/tree/testing/tunnel
arch=noarch
license=GPL-2
depends=
source=tunnel

build() {
	:
}

package() {
	install -D -m 755 "$srcdir/tunnel" "$pkgdir/etc/network/if-pre-up.d/tunnel"
	install -d -m 755 "$pkgdir/etc/network/if-post-down.d"
	ln -s ../if-pre-up.d/tunnel "$pkgdir/etc/network/if-post-down.d"
}

sha512sums="87d643652244f55cb0058d25256a978a963ab197123e4ac3849958ac73dd6f87b82d742fd7a018001069a87a7014a91bf866b707dd941d055375cbaa1b5d940b  tunnel"