[arch-commits] Commit in pcsclite/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Fri Feb 19 23:28:33 UTC 2016
Date: Saturday, February 20, 2016 @ 00:28:33
Author: arojas
Revision: 162610
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
pcsclite/repos/community-testing-i686/
pcsclite/repos/community-testing-i686/PKGBUILD
(from rev 162609, pcsclite/trunk/PKGBUILD)
pcsclite/repos/community-testing-x86_64/
pcsclite/repos/community-testing-x86_64/PKGBUILD
(from rev 162609, pcsclite/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
Copied: pcsclite/repos/community-testing-i686/PKGBUILD (from rev 162609, pcsclite/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-02-19 23:28:33 UTC (rev 162610)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Daniel Plaza <daniel.plaza.espi at gmail.com>
+
+pkgname=pcsclite
+pkgver=1.8.15
+pkgrel=1
+pkgdesc="PC/SC Architecture smartcard middleware library"
+arch=('i686' 'x86_64')
+url="https://alioth.debian.org/projects/pcsclite/"
+license=('BSD')
+depends=('python2' 'systemd')
+makedepends=('pkg-config')
+options=('!docs')
+source=("https://alioth.debian.org/frs/download.php/file/4138/pcsc-lite-${pkgver}.tar.bz2")
+md5sums=('439b2c8892f502e39e5b8997a7ae01ed')
+
+prepare() {
+# fix wrong dir name
+ mv pcsc-lite-{1.8.14,1.8.15}
+}
+
+build() {
+ cd "${srcdir}/pcsc-lite-${pkgver}"
+
+ sed -i -e "s:python:python2:g" src/spy/pcsc-spy
+
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --enable-libudev \
+ --sysconfdir=/etc \
+ --enable-ipcdir=/run/pcscd \
+ --enable-usbdropdir=/usr/lib/pcsc/drivers \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system
+
+ make
+}
+
+package() {
+ cd "${srcdir}/pcsc-lite-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 ${srcdir}/pcsc-lite-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -d ${pkgdir}/usr/lib/pcsc/drivers
+}
Copied: pcsclite/repos/community-testing-x86_64/PKGBUILD (from rev 162609, pcsclite/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-02-19 23:28:33 UTC (rev 162610)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Daniel Plaza <daniel.plaza.espi at gmail.com>
+
+pkgname=pcsclite
+pkgver=1.8.15
+pkgrel=1
+pkgdesc="PC/SC Architecture smartcard middleware library"
+arch=('i686' 'x86_64')
+url="https://alioth.debian.org/projects/pcsclite/"
+license=('BSD')
+depends=('python2' 'systemd')
+makedepends=('pkg-config')
+options=('!docs')
+source=("https://alioth.debian.org/frs/download.php/file/4138/pcsc-lite-${pkgver}.tar.bz2")
+md5sums=('439b2c8892f502e39e5b8997a7ae01ed')
+
+prepare() {
+# fix wrong dir name
+ mv pcsc-lite-{1.8.14,1.8.15}
+}
+
+build() {
+ cd "${srcdir}/pcsc-lite-${pkgver}"
+
+ sed -i -e "s:python:python2:g" src/spy/pcsc-spy
+
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --enable-libudev \
+ --sysconfdir=/etc \
+ --enable-ipcdir=/run/pcscd \
+ --enable-usbdropdir=/usr/lib/pcsc/drivers \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system
+
+ make
+}
+
+package() {
+ cd "${srcdir}/pcsc-lite-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 ${srcdir}/pcsc-lite-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -d ${pkgdir}/usr/lib/pcsc/drivers
+}
More information about the arch-commits
mailing list