diff options
Diffstat (limited to 'main/bridge')
-rw-r--r-- | main/bridge/APKBUILD | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/main/bridge/APKBUILD b/main/bridge/APKBUILD index 749ba8e272..05450dd0eb 100644 --- a/main/bridge/APKBUILD +++ b/main/bridge/APKBUILD @@ -2,34 +2,17 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=bridge pkgver=1.5 -pkgrel=3 +pkgrel=4 pkgdesc="Scripts for configuring network bridge interfaces" -url="http://wiki.alpinelinux.org/wiki/Bridge" +url="https://wiki.alpinelinux.org/wiki/Bridge" arch="noarch" -license="GPL" -depends="" -makedepends="" -install="" -subpackages="" +license="GPL-2.0-or-later" source="bridge.pre-up" -_builddir= -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} +builddir="$srcdir" package() { - cd "$_builddir" + cd "$builddir" install -Dm755 "$srcdir"/bridge.pre-up \ "$pkgdir"/etc/network/if-pre-up.d/bridge install -d "$pkgdir"/etc/network/if-post-down.d |