PKGBUILDs/extra/spice/PKGBUILD
2014-02-04 01:55:07 +00:00

39 lines
1.1 KiB
Bash

# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Patryk Kowalczyk < patryk at kowalczyk dot ws>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - drop qemu, libcacard deps
# - --disable-smartcard in configure
# - add v5 arch to configure
pkgname=spice
pkgver=0.12.4
pkgrel=3
pkgdesc="SPICE client and server"
arch=('i686' 'x86_64')
url="http://spice-space.org"
license=('LGPL2.1')
depends=(alsa-lib celt0.5.1 libjpeg-turbo libsasl libxinerama libxfixes libxrandr pixman)
makedepends=(python2-pyparsing spice-protocol)
source=(http://spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2
CVE-2013-4282.patch)
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i ../CVE-2013-4282.patch
sed -i 's/|armv6|/|armv5tel|armv6|/' configure
}
build() {
cd "$srcdir/$pkgname-$pkgver"
PYTHON=python2 ./configure --prefix=/usr --disable-static --enable-client --disable-smartcard
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
md5sums=('325b1c42ce24e75de45a75876b73a8bd'
'24a1648e7c684b4444d7921b5534767e')