summaryrefslogtreecommitdiff
path: root/community/vlan/PKGBUILD
blob: ca8374104bf7dc3e6767879fcd519886d417500e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 90479 2013-05-12 21:50:43Z seblu $
# Maintainer: Sébastien Luttringer
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=vlan
pkgver=1.9
pkgrel=2
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
  make clean 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: