diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/qemu-usbredir/PKGBUILD | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/pcr/qemu-usbredir/PKGBUILD b/pcr/qemu-usbredir/PKGBUILD index 7761a2ed9..7f625f88a 100644 --- a/pcr/qemu-usbredir/PKGBUILD +++ b/pcr/qemu-usbredir/PKGBUILD @@ -1,13 +1,19 @@ # $Id$ # Maintainer (Arch GNU/Linux): Tobias Powalowski <tpowa@archlinux.org> -_pkgname=('qemu' 'libcacard') -pkgname=('qemu-usbredir' 'libcacard') +_pkgname=qemu) +pkgname=qemu-usbredir pkgver=1.7.0 pkgrel=1 +pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation." arch=('i686' 'x86_64') license=('GPL2' 'LGPL2.1') url="http://wiki.qemu.org/Index.html" makedepends=('texi2html' 'perl' 'python2' 'spice-protocol') +depends=('pixman' 'libjpeg' 'libpng' 'sdl' 'alsa-lib' 'nss' 'glib2' + 'gnutls>=2.4.1' 'bluez-libs' 'vde2' 'util-linux' 'curl' 'libsasl' + 'libgl' 'libpulse' 'seabios' 'libcap-ng' 'libaio' 'libseccomp' + 'libiscsi' 'libcacard' 'spice' 'usbredir') +backup=('etc/qemu/target-x86_64.conf') install=qemu.install source=(http://wiki.qemu.org/download/${_pkgname}-${pkgver}.tar.bz2 65-kvm.rules) @@ -36,13 +42,8 @@ build () make V=99 } -package_qemu-usbredir() { - pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation." - depends=('pixman' 'libjpeg' 'libpng' 'sdl' 'alsa-lib' 'nss' 'glib2' - 'gnutls>=2.4.1' 'bluez-libs' 'vde2' 'util-linux' 'curl' 'libsasl' - 'libgl' 'libpulse' 'seabios' 'libcap-ng' 'libaio' 'libseccomp' - 'libiscsi' 'libcacard' 'spice' 'usbredir') - backup=('etc/qemu/target-x86_64.conf') +package () +{ cd "${srcdir}/${_pkgname}-${pkgver}" make DESTDIR="${pkgdir}" libexecdir="/usr/lib/qemu" install # provided by seabios package @@ -72,17 +73,5 @@ package_qemu-usbredir() { rm -rf ${pkgdir}/usr/bin/vscclient } -package_libcacard() { - pkgdesc="Common Access Card (CAC) Emulation" - options=('strip') - depends=('nss' 'libaio' 'libcap-ng' 'libiscsi' 'curl' 'vde2') - mkdir -p ${pkgdir}/usr/bin - mkdir -p ${pkgdir}/usr/lib/pkgconfig - mkdir -p ${pkgdir}/usr/include/cacard - cp -a ${srcdir}/qemu-${pkgver}/libcacard/*.h ${pkgdir}/usr/include/cacard/ - cp -a ${srcdir}/qemu-${pkgver}/.libs/libcacard.so* ${pkgdir}/usr/lib/ - cp -a ${srcdir}/qemu-${pkgver}/libcacard.pc ${pkgdir}/usr/lib/pkgconfig/ - cp -a ${srcdir}/qemu-${pkgver}/.libs/vscclient ${pkgdir}/usr/bin/ -} md5sums=('32893941d40d052a5e649efcf06aca06' '33ab286a20242dda7743a900f369d68a') |