updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / xspice / PKGBUILD
blobaf82f0d357b6e5d02bacb217e9df50893f8cab81
1 # Maintainer: Jonathan Lestrelin <zanko@daemontux.org>
2 # Contributor: Yonathan Dossow
3 # Contributor: Ansgar Taflinski <ataflinski@uni-koblenz.de>
4 pkgname=xspice
5 _pkgname=xf86-video-qxl
6 pkgver=0.0.16
7 pkgrel=2
8 pkgdesc="An X server that can be accessed by a Spice client"
9 arch=(x86_64 i686)
10 url="http://www.x.org"
11 license=('MIT')
12 groups=(xorg-video-drivers)
13 depends=(spice libsasl)
14 makedepends=(pkgconfig xorg-server-devel)
15 source=(http://xorg.freedesktop.org/releases/individual/driver/$_pkgname-$pkgver.tar.bz2)
16 md5sums=('21108fae53c14eb2c65413b55a3c8778')
18 build() {
19   cd "$srcdir/$_pkgname-$pkgver"
20   sed -i -e "s#/usr/bin/python#/usr/bin/python2#g" scripts/xspice
21   ./configure --prefix=/usr --disable-static --enable-xspice=only
22   make
25 package() {
26   cd "$srcdir/$_pkgname-$pkgver"
27   mkdir -p "$pkgdir/etc/X11"
28   cp examples/spiceqxl.xorg.conf.example "$pkgdir/etc/X11/spiceqxl.xorg.conf"
29   make DESTDIR="$pkgdir/" INSTALL='install -p' install