[arch-commits] Commit in spice-vdagent (7 files)
Balló György
bgyorgy at archlinux.org
Sat Oct 15 19:25:34 UTC 2016
Date: Saturday, October 15, 2016 @ 19:25:33
Author: bgyorgy
Revision: 192314
archrelease: copy trunk to community-i686, community-x86_64
Added:
spice-vdagent/repos/
spice-vdagent/repos/community-i686/
spice-vdagent/repos/community-i686/PKGBUILD
(from rev 192313, spice-vdagent/trunk/PKGBUILD)
spice-vdagent/repos/community-i686/spice-vdagent.install
(from rev 192313, spice-vdagent/trunk/spice-vdagent.install)
spice-vdagent/repos/community-x86_64/
spice-vdagent/repos/community-x86_64/PKGBUILD
(from rev 192313, spice-vdagent/trunk/PKGBUILD)
spice-vdagent/repos/community-x86_64/spice-vdagent.install
(from rev 192313, spice-vdagent/trunk/spice-vdagent.install)
----------------------------------------+
community-i686/PKGBUILD | 40 +++++++++++++++++++++++++++++++
community-i686/spice-vdagent.install | 7 +++++
community-x86_64/PKGBUILD | 40 +++++++++++++++++++++++++++++++
community-x86_64/spice-vdagent.install | 7 +++++
4 files changed, 94 insertions(+)
Copied: spice-vdagent/repos/community-i686/PKGBUILD (from rev 192313, spice-vdagent/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2016-10-15 19:25:33 UTC (rev 192314)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgname=spice-vdagent
+pkgver=0.17.0
+pkgrel=2
+pkgdesc="Spice agent for Linux guests"
+arch=('i686' 'x86_64')
+url="http://www.spice-space.org/"
+license=('GPL')
+depends=('alsa-lib' 'dbus' 'glib2' 'libpciaccess' 'libxfixes' 'libxinerama' 'libxrandr')
+makedepends=('spice-protocol' 'systemd')
+backup=('etc/conf.d/spice-vdagentd')
+install=$pkgname.install
+source=("http://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2")
+sha256sums=('f14a8bd8cdee10641aabd9ba32461a5844eab0fddb2a10c1d31386e7a9f7b33d')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's|/lib/udev/rules.d|$(libdir)/udev/rules.d|' Makefile.{am,in}
+ sed -i 's|/etc/sysconfig/spice-vdagentd|/etc/conf.d/spice-vdagentd|
+ s|/usr/sbin/spice-vdagentd|/usr/bin/spice-vdagentd|' data/spice-vdagentd.service
+ sed -i 's|/etc/sysconfig/spice-vdagentd|/etc/conf.d/spice-vdagentd|' data/spice-vdagentd.1.in
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin \
+ --with-session-info=systemd --with-init-script=systemd
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir/var"
+ install -dm755 "$pkgdir/etc/conf.d/"
+ echo 'SPICE_VDAGENTD_EXTRA_ARGS=""' > "$pkgdir/etc/conf.d/spice-vdagentd"
+}
Copied: spice-vdagent/repos/community-i686/spice-vdagent.install (from rev 192313, spice-vdagent/trunk/spice-vdagent.install)
===================================================================
--- repos/community-i686/spice-vdagent.install (rev 0)
+++ repos/community-i686/spice-vdagent.install 2016-10-15 19:25:33 UTC (rev 192314)
@@ -0,0 +1,7 @@
+post_install() {
+ systemd-tmpfiles --create "/usr/lib/tmpfiles.d/spice-vdagentd.conf"
+}
+
+post_upgrade() {
+ post_install
+}
Copied: spice-vdagent/repos/community-x86_64/PKGBUILD (from rev 192313, spice-vdagent/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2016-10-15 19:25:33 UTC (rev 192314)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgname=spice-vdagent
+pkgver=0.17.0
+pkgrel=2
+pkgdesc="Spice agent for Linux guests"
+arch=('i686' 'x86_64')
+url="http://www.spice-space.org/"
+license=('GPL')
+depends=('alsa-lib' 'dbus' 'glib2' 'libpciaccess' 'libxfixes' 'libxinerama' 'libxrandr')
+makedepends=('spice-protocol' 'systemd')
+backup=('etc/conf.d/spice-vdagentd')
+install=$pkgname.install
+source=("http://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2")
+sha256sums=('f14a8bd8cdee10641aabd9ba32461a5844eab0fddb2a10c1d31386e7a9f7b33d')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's|/lib/udev/rules.d|$(libdir)/udev/rules.d|' Makefile.{am,in}
+ sed -i 's|/etc/sysconfig/spice-vdagentd|/etc/conf.d/spice-vdagentd|
+ s|/usr/sbin/spice-vdagentd|/usr/bin/spice-vdagentd|' data/spice-vdagentd.service
+ sed -i 's|/etc/sysconfig/spice-vdagentd|/etc/conf.d/spice-vdagentd|' data/spice-vdagentd.1.in
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin \
+ --with-session-info=systemd --with-init-script=systemd
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir/var"
+ install -dm755 "$pkgdir/etc/conf.d/"
+ echo 'SPICE_VDAGENTD_EXTRA_ARGS=""' > "$pkgdir/etc/conf.d/spice-vdagentd"
+}
Copied: spice-vdagent/repos/community-x86_64/spice-vdagent.install (from rev 192313, spice-vdagent/trunk/spice-vdagent.install)
===================================================================
--- repos/community-x86_64/spice-vdagent.install (rev 0)
+++ repos/community-x86_64/spice-vdagent.install 2016-10-15 19:25:33 UTC (rev 192314)
@@ -0,0 +1,7 @@
+post_install() {
+ systemd-tmpfiles --create "/usr/lib/tmpfiles.d/spice-vdagentd.conf"
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list