summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b953f81897b8e31cfd0692a65708a6e7315409d (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=r41.979eec0
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")
makedepends=('s2argv-execs')
depends=('s2argv-execs')
replace=("$_pkgname")
provides=("$_pkgname")
conflicts=("$_pkgname" '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
}