description="Spice agent for Linux guests" url="https://www.spice-space.org" packager="spiky " contributors="Rems" makedepends=(alsa-lib dbus glib xorg-libpciaccess xorg-libxfixes xorg-libxinerama xorg-libxrandr spice-protocol desktop-file-utils xorg-libdrm) name=spice-vdagent version=0.21.0 source=(https://www.spice-space.org/download/releases/$name-$version.tar.bz2) build() { cd $name-$version ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var make make DESTDIR=$PKG install rm -r $PKG/var install -dm755 "$PKG/etc/sysconfig/" echo 'SPICE_VDAGENTD_EXTRA_ARGS=""' > "$PKG/etc/sysconfig/spice-vdagentd" }