summaryrefslogtreecommitdiff
path: root/community/vlan
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/vlan
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/vlan')
-rw-r--r--community/vlan/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/vlan/PKGBUILD b/community/vlan/PKGBUILD
new file mode 100644
index 000000000..01915a0b0
--- /dev/null
+++ b/community/vlan/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 92650 2013-06-10 15:16:14Z seblu $
+# Maintainer: Sébastien Luttringer
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
+
+pkgname=vlan
+pkgver=1.9
+pkgrel=3
+pkgdesc='Virtual LAN configuration utility'
+arch=('i686' 'x86_64')
+url='http://www.candelatech.com/~greear/vlan.html'
+license=('GPL')
+source=("http://www.candelatech.com/~greear/vlan/vlan.${pkgver}.tar.gz")
+md5sums=('5f0c6060b33956fb16e11a15467dd394')
+
+build() {
+ cd $pkgname
+ # don't call clean and all on the same line with -jn (with n > 0)
+ # there is a race condition, both target are launched at the same time
+ # and as upstream provide target nothing is built.
+ # don't use !makeflags in PKGBUILD options to not penalize building
+ make clean
+ make all
+}
+
+package() {
+ cd $pkgname
+ install -D -m755 'vconfig' "$pkgdir/usr/bin/vconfig"
+ install -D -m755 'macvlan_config' "$pkgdir/usr/bin/macvlan_config"
+ install -D -m644 'vconfig.8' "$pkgdir/usr/share/man/man8/vconfig.8"
+}
+
+# vim:set ts=2 sw=2 et: