diff options
author | Peter Mattern | 2016-11-24 23:29:55 +0100 |
---|---|---|
committer | Peter Mattern | 2016-11-24 23:29:55 +0100 |
commit | e671c7d3b5ce79b2238316a2cb29a0ac7928431b (patch) | |
tree | d3c8857f6307044dbeba7afc6e017c8c09ff8bcc | |
parent | 9af39ea78196a34e5e439b94f02c6296280f9425 (diff) | |
download | aur-e671c7d3b5ce79b2238316a2cb29a0ac7928431b.tar.gz |
Add install script running systemd-tmpfiles
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | spice-vdagent-git.install | 7 |
2 files changed, 10 insertions, 2 deletions
@@ -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 +} |