From aa19b7053456c8d4218187be9e42196b0b5d91da Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 23 Aug 2018 20:34:50 -0400 Subject: add pcr/systemd-qemu --- pcr/systemd-qemu/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pcr/systemd-qemu/PKGBUILD (limited to 'pcr/systemd-qemu') diff --git a/pcr/systemd-qemu/PKGBUILD b/pcr/systemd-qemu/PKGBUILD new file mode 100644 index 000000000..c49390cd5 --- /dev/null +++ b/pcr/systemd-qemu/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Luke Shumaker + +pkgname=systemd-qemu +pkgver=20180714 +url=https://git.lukeshu.com/$pkgname +license=('AGPL') + +pkgrel=1 +arch=(any) +depends=(qemu 'bash>=4.4' numactl socat util-linux systemd) +makedepends=(git) +source=("git+${url}.git#tag=v${pkgver}") +sha256sums=('SKIP') + +backup=( + 'etc/systemd/system/qemu' + 'etc/systemd/system/qemu@.service' + 'etc/conf.d/qemu.d/beefcake' + 'etc/conf.d/qemu.d/qemutest' + 'etc/conf.d/qemu.d/testbox' +) + +_makeargs=( + sysconfdir=/etc + bindir=/etc/systemd/system + systemunitdir=/etc/systemd/system +) + +build() { + cd "$srcdir/$pkgname" + make "${_makeargs[@]}" +} + + +package() { + cd "$srcdir/$pkgname" + make "${_makeargs[@]}" install DESTDIR="$pkgdir" +} -- cgit v1.2.3