aboutsummaryrefslogtreecommitdiffstats
path: root/main/static-routing/APKBUILD
blob: 6374ca2e1ee73ba729d5b4ac13e6122307463c9f (plain) (blame)
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=static-routing
pkgver=1.0
pkgrel=0
pkgdesc="Script for configuring static routing"
url=http://git.alpinelinux.org/cgit/aports/tree/testing/static-routing
arch=noarch
license=GPL-2
depends=
source=static-routing

build() {
	:
}

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

sha512sums="89ace46345ee43961ca38c67d841d598c38f5c6765317b8353e360d761ea31f128c656095632b20eeedf683e4ae4337c5d177422779491e9bb027289e82a34a8  static-routing"