PKGBUILDs/extra/spice/PKGBUILD
2015-10-18 14:47:55 +00:00

40 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
# - patch to remove x86 assembly breakpoint
pkgname=spice
pkgver=0.12.6
pkgrel=1
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 python2-six qemu spice-protocol)
source=(http://spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2
alarm.patch)
prepare() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's/|armv6|/|armv5tel|armv6|/' configure
patch -p1 -i ../alarm.patch
}
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=('605a8c8ea80bc95076c4b3539c6dd026'
'fb88aba84f39baa118fcd9da82b10b78')