summaryrefslogtreecommitdiff
path: root/pcr/spice-vdagent/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/spice-vdagent/PKGBUILD')
-rw-r--r--pcr/spice-vdagent/PKGBUILD60
1 files changed, 0 insertions, 60 deletions
diff --git a/pcr/spice-vdagent/PKGBUILD b/pcr/spice-vdagent/PKGBUILD
deleted file mode 100644
index 429ab3cee..000000000
--- a/pcr/spice-vdagent/PKGBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# Maintainer (Arch): mutantmonkey <aur@mutantmonkey.in>
-pkgname=spice-vdagent
-pkgver=0.16.0
-pkgrel=2
-pkgdesc="Spice agent xorg client that enables copy and paste between client and X-session and more"
-arch=('i686' 'x86_64')
-url="http://www.spice-space.org/"
-license=('GPL')
-depends=('libpciaccess' 'libxinerama' 'libxrandr' 'libxfixes'
- 'libsystemd' 'alsa-lib' 'glib2')
-optdepends=('dex: start spice-vdagent automatically on login')
-makedepends=('systemd' 'spice-protocol>=0.12.8')
-backup=('etc/conf.d/spice-vdagentd.conf')
-source=("http://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2"{,.sign}
- 'spice-vdagentd.conf.d')
-sha256sums=('5b951646e0bd996afda2d063e706fa2aad2655af5bdd1b6525260ab50be30f7d'
- 'SKIP'
- '03e0cc9e0f0e2afb3fc99846b8eb1fcb0698955833c67a40a6692c7df4df2d12')
-validpgpkeys=('94A9F75661F77A6168649B23A9D8C21429AC6C82')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # set udevrulesdir, since this is impossible with a flag
- sed -i 's/udevrulesdir = \/lib/udevrulesdir = \/usr\/lib/' Makefile.am
-
- # remove mkdir for /var/run/spice-vdagentd
- sed -i 's/$(mkdir_p) $(DESTDIR)$(localstatedir)\/run\/spice-vdagentd/true/' \
- Makefile.am
-
- sed -i 's/\/var\/run/\/run/' data/tmpfiles.d/spice-vdagentd.conf
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- autoreconf -fi
- ./configure --prefix=/usr \
- --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc \
- --localstatedir=/var --libdir=/usr/lib \
- --with-session-info=systemd --with-init-script=systemd \
- --enable-static-uinput
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make -k check
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-
- sed -i 's/\/etc\/sysconfig\/spice-vdagentd/\/etc\/conf.d\/spice-vdagentd.conf/' $pkgdir/usr/lib/systemd/system/spice-vdagentd.service
- sed -i 's/\/usr\/sbin/\/usr\/bin/' $pkgdir/usr/lib/systemd/system/spice-vdagentd.service
-
- install -Dm0755 "${srcdir}/spice-vdagentd.conf.d" "${pkgdir}/etc/conf.d/spice-vdagentd.conf"
-}
-
-# vim:set ts=2 sw=2 et: