summaryrefslogtreecommitdiff
path: root/pcr/spice/PKGBUILD
blob: df4a39a0458a7cb4cbdde0ff25f31ab050778825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor (Arch): Lucio Zara <pennega@gmail.com>
# Contributor (Arch): Jameson Pugh <imntreal@gmail.com>
# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io>
     
    pkgname=spice
    pkgver=0.12.0
    pkgrel=1
    pkgdesc="SPICE client and server"
    arch=('x86_64' 'i686')
    url="http://spice-space.org"
    license=('GPL')
    makedepends=(python2-pyparsing)
    depends=(pixman celt cegui alsa-utils libxrandr libxinerama libsasl 
libcacard )

    source=(http://spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2)
    md5sums=('12c6ea4938215f8f9f10d2925f7bec9b')     
    
    build() {
      cd "$srcdir/$pkgname-$pkgver"
      sed -i 's,/usr/bin/env python,/usr/bin/python2,' spice-common/spice_codegen.py
      PYTHON=python2 \
      ./configure --prefix=/usr \
            --enable-gui \
            --enable-opengl \
      --enable-smartcard \
    #       --enable-tunnel
      make
    }
     
    package() {
      cd "$srcdir/$pkgname-$pkgver"
     
      make DESTDIR="$pkgdir/" install
    }
     
    # vim:set ts=2 sw=2 et: