summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4d1eec2b6a4019f75b93ab0d63f07780f943485 (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
28
29
30
31
32
33
34
35
36
# Maintainer: Gabriele Fulgaro <gabriele.fulgaro@gmail.com>

_pkgname="vdeplug4"

pkgname="$_pkgname-git"
pkgver=r44.7ebdc73
pkgrel=1
pkgdesc="VDE: Virtual Distributed Ethernet. Plug your VM directly to the cloud"
arch=(any)
url="https://github.com/rd235/$_pkgname"
license=('GPL2')
groups=("view-os")
depends=('s2argv-execs')
makedepends=('s2argv-execs')
provides=("$_pkgname" 'vde2')
conflicts=("$_pkgname" 'vde2')
replace=('vde2')
source=("git+$url.git")
md5sums=('SKIP')

pkgver() {
	cd "$_pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$_pkgname"
	autoreconf -i
	./configure --prefix="/usr"
	make
}

package() {
	cd "$_pkgname"
	make DESTDIR="$pkgdir/" install
}