# Template file for 'spice-vdagent'
pkgname=spice-vdagent
version=0.15.0
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel dbus-devel libXfixes-devel libXrandr-devel
 libXinerama-devel libpciaccess-devel spice-protocol desktop-file-utils"
depends="dbus"
short_desc="Spice agent for Linux"
homepage="http://spice-space.org/"
license="GPL-3"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://www.spice-space.org/download/releases/${pkgname}-${version}.tar.bz2"
checksum=5bae1747307c2f4195f6de97639391be7c6be6c5673fdcc9febed6faca22bd34
configure_args="--sbindir=/usr/bin"

do_install() {
	make DESTDIR=${DESTDIR} udevrulesdir=/usr/lib/udev/rules.d install
}
