diff options
author | Melissa Nuño | 2021-01-16 07:12:45 -0700 |
---|---|---|
committer | Melissa Nuño | 2021-01-16 07:12:45 -0700 |
commit | 7074c0d5cc25b760597e8344810d4f9530547813 (patch) | |
tree | 476ee2be9a77595aded4480b7ee91b29a2424f62 | |
parent | e889572f2e2b622543d4d957f5f61dfde45fdc0e (diff) | |
download | aur-7074c0d5cc25b760597e8344810d4f9530547813.tar.gz |
Include default configuration file.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = vfio-kvm-git pkgdesc = A systemd service that send a D-Bus signal when a QEMU evdev hotkey is pressed. - pkgver = 1.0.0.r0.gc23b0fe + pkgver = 1.0.0.r2.g39f1afc pkgrel = 1 url = https://github.com/dangle/vfio-kvm arch = any @@ -10,9 +10,11 @@ pkgbase = vfio-kvm-git depends = python>=3.7 depends = python-evdev depends = python-dbus-next + depends = systemd optdepends = ddccontrol: switching monitor inputs provides = vfio-kvm conflicts = vfio-kvm + backup = etc/vfio-kvm.yaml source = git+https://github.com/dangle/vfio-kvm.git md5sums = SKIP @@ -2,7 +2,7 @@ # Maintainer: Melissa Nuño <melissa.nuno@gmail.com> pkgname=vfio-kvm-git -pkgver=1.0.0.r0.gc23b0fe +pkgver=1.0.0.r2.g39f1afc pkgrel=1 pkgdesc="A systemd service that send a D-Bus signal when a QEMU evdev hotkey is pressed." arch=('any') @@ -11,9 +11,11 @@ license=('MIT') depends=('dbus' 'python>=3.7' 'python-evdev' - 'python-dbus-next') + 'python-dbus-next' + 'systemd') makedepends=('git') optdepends=('ddccontrol: switching monitor inputs') +backup=('etc/vfio-kvm.yaml') provides=(${pkgname%-*}) conflicts=(${pkgname%-*}) source=('git+https://github.com/dangle/vfio-kvm.git') @@ -27,6 +29,7 @@ pkgver() { package() { cd "$srcdir/${pkgname%-*}" install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "config/vfio-kvm.yaml" -t "${pkgdir}/etc" install -Dm644 "config/dbus/vfio-kvm.xml" "${pkgdir}/etc/dbus-1/system.d/vfio-kvm.conf" install -Dm644 "config/systemd/vfio-kvm.service" -t "${pkgdir}/usr/lib/systemd/system" install -Dm755 "vfio-kvm.py" "${pkgdir}/usr/bin/vfio-kvm" |