# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libcacard pkgname=libcacard pkgver=2.5.2 pkgrel=1 pkgdesc='(Common Access Card) library thar provides emulation of smart cards to a virtual card reader running in a guest virtual machine' arch=(x86_64) license=(GPL2) url='http://www.spice-space.org/page/Libcacard' depends=(nss glib2) source=(http://www.spice-space.org/download/libcacard/libcacard-$pkgver.tar.xz) sha1sums=('8bce876ab074b8151e8fb24475a963b9abd98e2f') build () { cd libcacard-$pkgver ./configure --prefix=/usr make } package() { cd libcacard-$pkgver make DESTDIR="$pkgdir" install }