blob: 899c2695bb58e678acadc6d6568cabba58bb714b (
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
|
# Maintainer: Mattia Moffa <mattia@moffa.xyz>
pkgname=vde-netemu-git
pkgver=r3.df3d677
pkgrel=1
pkgdesc="An alternative implementation of vde's wirefilter based on a different organization of components"
arch=('x86_64')
url="https://github.com/virtualsquare/vde-netemu"
license=('GPL2')
depends=('vde2')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('vde-netemu::git+https://github.com/virtualsquare/vde-netemu.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
make CFLAGS+=-Wno-implicit-int
}
package() {
cd "$srcdir/${pkgname%-git}"
mkdir -p "$pkgdir/usr/bin"
make PREFIX="$pkgdir/usr" install
}
|