blob: ca424cb65ad483eedd0e58b54765a2a8a13aeb34 (
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
32
33
34
35
|
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
pkgname=systemd-qemu
pkgver=20180909
url=https://git.lukeshu.com/$pkgname
license=('AGPL')
pkgrel=2
arch=(any)
depends=(qemu-headless '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'
)
_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"
}
|