summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mattern2016-11-24 23:29:55 +0100
committerPeter Mattern2016-11-24 23:29:55 +0100
commite671c7d3b5ce79b2238316a2cb29a0ac7928431b (patch)
treed3c8857f6307044dbeba7afc6e017c8c09ff8bcc
parent9af39ea78196a34e5e439b94f02c6296280f9425 (diff)
downloadaur-e671c7d3b5ce79b2238316a2cb29a0ac7928431b.tar.gz
Add install script running systemd-tmpfiles
-rw-r--r--PKGBUILD5
-rw-r--r--spice-vdagent-git.install7
2 files changed, 10 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d25241170c13..9fb93f108ab6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_pkgname=spice-vdagent
pkgname=$_pkgname-git
-pkgver=0.16.0.9.geb01d32
-pkgrel=2
+pkgver=0.16.0.35.08ff8d7
+pkgrel=1
pkgdesc='SPICE VDAgent for Linux'
arch=('i686' 'x86_64')
url='http://www.spice-space.org'
@@ -12,6 +12,7 @@ depends=('glib2' 'alsa-lib' 'libpciaccess' 'libxfixes' 'libxrandr' 'libxinerama'
makedepends=('git' 'spice-protocol')
provides=("$_pkgname")
conflicts=("$_pkgname")
+install=$pkgname.install
source=("$_pkgname::git://anongit.freedesktop.org/spice/linux/vd_agent"
spice-vdagentd.conf.sample)
sha256sums=("SKIP"
diff --git a/spice-vdagent-git.install b/spice-vdagent-git.install
new file mode 100644
index 000000000000..e8829cfd6dac
--- /dev/null
+++ b/spice-vdagent-git.install
@@ -0,0 +1,7 @@
+post_install() {
+ systemd-tmpfiles --create spice-vdagentd.conf
+}
+
+post_upgrade() {
+ post_install
+}