summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGFdevelop2020-02-15 21:44:23 +0100
committerGFdevelop2020-02-15 21:44:23 +0100
commit8b08b2a7676032b9ceea51182e42150215de1f96 (patch)
tree504805d61c46ffecadbed4cc62a5ab0ce8d2de51
parentcd774c8c0f350f2593d865977ba5b422c157f6f6 (diff)
downloadaur-8b08b2a7676032b9ceea51182e42150215de1f96.tar.gz
Changed vdeplug4 from autotools to cmake
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4840750587e..3e1901ac3f2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vdeplug4-git
pkgdesc = VDE: Virtual Distributed Ethernet. Plug your VM directly to the cloud
- pkgver = r44.7ebdc73
- pkgrel = 2
+ pkgver = r74.926dc9a
+ pkgrel = 1
url = https://github.com/rd235/vdeplug4
install = vde2.install
arch = any
@@ -21,6 +21,7 @@ pkgbase = vdeplug4-git
conflicts = vdeplug4
conflicts = vde2
replaces = vde2
+ options = !makeflags
source = git+https://github.com/rd235/vdeplug4.git
source = git+https://github.com/virtualsquare/vde-2.git
source = dhcpd.conf.sample
diff --git a/PKGBUILD b/PKGBUILD
index 2a82f48a7a8..e52d088e84f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@ _pkgname="vdeplug4"
_pkgname2="vde2"
pkgname="$_pkgname-git"
-pkgver=r44.7ebdc73
-pkgrel=2
+pkgver=r74.926dc9a
+pkgrel=1
pkgdesc="VDE: Virtual Distributed Ethernet. Plug your VM directly to the cloud"
arch=('any')
url="https://github.com/rd235/$_pkgname"
@@ -27,6 +27,7 @@ source=(
vde-connection.sample
)
install=vde2.install
+options=(!makeflags)
sha256sums=(
'SKIP'
'SKIP'
@@ -49,9 +50,9 @@ build() {
./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --libexecdir=/usr/lib/vde2 --enable-experimental
make
- cd "../$_pkgname"
- autoreconf -i
- ./configure --prefix="/usr"
+ mkdir -p "../$_pkgname/build"
+ cd "../$_pkgname/build"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
@@ -65,6 +66,6 @@ package() {
# install slirp license
install -D -m 644 COPYING.slirpvde $pkgdir/usr/share/licenses/vde2/COPYING.slirpvde
- cd "../$_pkgname"
+ cd "../$_pkgname/build"
make DESTDIR="$pkgdir/" install
}