diff --git a/user/qubes-libvchan-xen/APKBUILD b/user/qubes-libvchan-xen/APKBUILD new file mode 100644 index 0000000..20c4fb6 --- /dev/null +++ b/user/qubes-libvchan-xen/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +pkgname=qubes-libvchan-xen +pkgver=4.1.13 +pkgrel=0 +_gittag=v$pkgver +pkgdesc="The Qubes core libraries for installation inside a Qubes Dom0 and VM." +arch="x86_64" +url="https://github.com/QubesOS/qubes-core-vchan-xen" +license='GPL' +makedepends="xen-dev" +builddir="$srcdir"/qubes-core-vchan-xen-$pkgver +subpackages="$pkgname-dev" + +source="$pkgname-$_gittag.tar.gz::https://github.com/QubesOS/qubes-core-vchan-xen/archive/refs/tags/$_gittag.tar.gz" + +build() { + cd "$builddir"/vchan + make -f Makefile.linux +} + +package() { + make install DESTDIR="$pkgdir" LIBDIR=/usr/lib INCLUDEDIR=/usr/include +} + +sha512sums=" +cefb6b89f75936d791910d2169170536221d3123a1b33a14bea1fc5c08950ce934666719bf08eb3cc86ac055f85e6834f71e21c31189fa7299af09296c3cd99f qubes-libvchan-xen-v4.1.13.tar.gz +"