# $Id: PKGBUILD 97529 2013-09-23 16:16:35Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Stefano Facchini # Contributor: Jonathan Lestrelin # Derived from the spice-gtk PKGBUILD by # Contributor: Lucio Zara pkgname=spice-gtk3 pkgver=0.21 pkgrel=1 pkgdesc="A Gtk client and libraries for SPICE remote desktop servers (gtk3 version)." arch=('x86_64' 'i686') url="http://spice-space.org" license=('GPL') makedepends=('intltool' 'vala' 'python2-pyparsing' 'python2-gobject') depends=('libpulse' 'gtk3' 'spice' 'libusb' 'usbredir') conflicts=('spice-gtk') options=('!libtool') source=("http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2") sha256sums=('b1355823b0ceb2e118c1f9a9a602ccab78e1e2edf2d93f71fa42d3bc85ca75df') sha256sums=('73d418ffa97d6cf5edb1920d46f1d51fc40d14a8d4edfab3be6041e25062c564') build() { cd "$srcdir/spice-gtk-$pkgver" sed -i 's,/usr/bin/env python,/usr/bin/python2,' spice-common/spice_codegen.py ./configure --prefix=/usr \ --with-gtk=3.0 \ --with-python \ --enable-vala \ --enable-smartcard=no make } package() { cd "$srcdir/spice-gtk-$pkgver" make DESTDIR="$pkgdir/" install }