Skip to content
Snippets Groups Projects
Commit e7d3bf18 authored by Leo's avatar Leo
Browse files

main/vlan: modernize

parent 53dd8b58
No related branches found
No related tags found
No related merge requests found
......@@ -2,31 +2,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlan
pkgver=2.2
pkgrel=0
pkgrel=1
pkgdesc="Scripts for configuring VLAN network interfaces"
url="http://wiki.alpinelinux.org/wiki/Vlan"
arch="noarch"
license="GPL"
options="!check"
depends=""
makedepends=""
install=""
subpackages=""
options="!check" # No testsuite
source="mvlan.post-down
mvlan.pre-up
vlan.post-down
vlan.pre-up
"
build() {
return 0
}
package() {
cd "$srcdir"
for i in vlan mvlan; do
for j in pre-up post-down; do
install -Dm755 $i.$j "$pkgdir"/etc/network/if-$j.d/$i || return 1
install -Dm755 $i.$j "$pkgdir"/etc/network/if-$j.d/$i
done
done
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment