Commit b9801b6b authored by Leo's avatar Leo Committed by Francesco Colista

main/bridge: modernize, fix url, fix license

parent c86514b4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment