aboutsummaryrefslogtreecommitdiffstats
path: root/main/static-routing/APKBUILD
blob: 2d27159e5203148213881d22b04b14571b1e6850 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=static-routing
pkgver=1.0
pkgrel=2
pkgdesc="Script for configuring static routing"
url="https://git.alpinelinux.org/cgit/aports/tree/main/static-routing"
arch="noarch"
license="GPL-2.0-only"
source="static-routing"

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="9a714dcef641f021c9619a2239575c96109f92aaee08a3665b7817689d8050ca6507847f529d1f70f35a16ff2d03dcf40be963cb2245495a9d93fb21622bc86c  static-routing"