[arch-commits] Commit in vde2/repos (staging-x86_64 staging-x86_64/PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Tue Jul 12 17:57:16 UTC 2022


    Date: Tuesday, July 12, 2022 @ 17:57:16
  Author: dvzrv
Revision: 450959

archrelease: copy trunk to staging-x86_64

Added:
  vde2/repos/staging-x86_64/
  vde2/repos/staging-x86_64/PKGBUILD
    (from rev 450958, vde2/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: vde2/repos/staging-x86_64/PKGBUILD (from rev 450958, vde2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-07-12 17:57:16 UTC (rev 450959)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Sergej Pupykin
+
+_name=vde-2
+pkgname=vde2
+pkgver=2.3.3
+pkgrel=2
+pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
+arch=(x86_64)
+url="https://github.com/virtualsquare/vde-2"
+license=(GPL2 LGPL2.1)
+depends=(bash glibc)
+makedepends=(libpcap wolfssl)
+provides=(libvdehist.so libvdemgmt.so libvdeplug.so libvdesnmp.so)
+source=($pkgname-$pkgver.tar.gz::https://github.com/virtualsquare/$_name/archive/refs/tags/v$pkgver.tar.gz)
+options=(debug)
+sha512sums=('d0495aa700984dcc82f85cf7c8125cc10505a8a077fceec45b7fd2bec9c389966381682842e886469fa49239badd9442403d091c2ae5282685085e8262396387')
+b2sums=('e3ed7423edc03a6af09967484613c0e2a701f74a4323eeab720cabe9a899120023425527054662ee1dbd207327b7e6dd375bceb4999fd708666df13c08acf348')
+
+prepare() {
+  cd $_name-$pkgver
+  autoreconf -fiv
+}
+
+build() {
+  cd $_name-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/$pkgname \
+    --enable-experimental
+  make V=1
+}
+
+package() {
+  depends+=(libpcap.so libwolfssl.so)
+
+  make DESTDIR="$pkgdir" install -C $_name-$pkgver
+  install -vDm 644 $_name-$pkgver/{README,Changelog,doc/{README.*,*-HOWTO}} -t "$pkgdir/usr/share/doc/$pkgname/"
+}



More information about the arch-commits mailing list