[arch-commits] Commit in pcsclite/repos/community-x86_64 (3 files)

Frederik Schwan freswa at gemini.archlinux.org
Fri Aug 6 13:35:44 UTC 2021


    Date: Friday, August 6, 2021 @ 13:35:43
  Author: freswa
Revision: 994556

archrelease: copy trunk to community-x86_64

Added:
  pcsclite/repos/community-x86_64/PKGBUILD
    (from rev 994555, pcsclite/trunk/PKGBUILD)
  pcsclite/repos/community-x86_64/fix-service.patch
    (from rev 994555, pcsclite/trunk/fix-service.patch)
Deleted:
  pcsclite/repos/community-x86_64/PKGBUILD

-------------------+
 PKGBUILD          |   96 ++++++++++++++++++++++++++++------------------------
 fix-service.patch |   12 ++++++
 2 files changed, 64 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-06 13:35:40 UTC (rev 994555)
+++ PKGBUILD	2021-08-06 13:35:43 UTC (rev 994556)
@@ -1,44 +0,0 @@
-# Maintainer: Alad Wenter <alad at archlinux.org>
-# Maintainer: Christian Hesse <mail at eworm.de>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Daniel Plaza <daniel.plaza.espi at gmail.com>
-
-pkgname=pcsclite
-pkgver=1.9.2
-pkgrel=1
-pkgdesc="PC/SC Architecture smartcard middleware library"
-arch=('x86_64')
-url='https://pcsclite.apdu.fr/'
-license=('BSD')
-depends=('python' 'systemd' 'libsystemd.so' 'libudev.so')
-makedepends=('pkg-config')
-provides=('libpcsclite.so' 'libpcscspy.so')
-options=('!docs')
-validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E') # Ludovic Rousseau <rousseau at debian.org>
-source=("https://pcsclite.apdu.fr/files/pcsc-lite-${pkgver}.tar.bz2"{,.asc})
-sha256sums=('b267098e6d822903fba23b6183c17fd3678018b8544d1510bb7f2be802906b42'
-            'SKIP')
-
-build() {
-  cd "pcsc-lite-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --enable-filter \
-    --enable-ipcdir=/run/pcscd \
-    --enable-libudev \
-    --enable-usbdropdir=/usr/lib/pcsc/drivers \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system
-
-  make
-}
-
-package() {
-  cd "pcsc-lite-$pkgver"
-  make DESTDIR="$pkgdir" install
-
-  install -D -m0644 "$srcdir/pcsc-lite-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -d "$pkgdir/usr/lib/pcsc/drivers"
-}

Copied: pcsclite/repos/community-x86_64/PKGBUILD (from rev 994555, pcsclite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-06 13:35:43 UTC (rev 994556)
@@ -0,0 +1,52 @@
+# Maintainer: Alad Wenter <alad at archlinux.org>
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Daniel Plaza <daniel.plaza.espi at gmail.com>
+
+pkgname=pcsclite
+pkgver=1.9.2
+pkgrel=2
+pkgdesc="PC/SC Architecture smartcard middleware library"
+arch=('x86_64')
+url='https://pcsclite.apdu.fr/'
+license=('BSD')
+depends=('python' 'systemd' 'libsystemd.so' 'libudev.so')
+makedepends=('pkg-config' 'autoconf-archive')
+provides=('libpcsclite.so' 'libpcscspy.so')
+options=('!docs')
+validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E') # Ludovic Rousseau <rousseau at debian.org>
+source=("https://pcsclite.apdu.fr/files/pcsc-lite-${pkgver}.tar.bz2"{,.asc}
+        fix-service.patch)
+sha256sums=('b267098e6d822903fba23b6183c17fd3678018b8544d1510bb7f2be802906b42'
+            'SKIP'
+            '207b2243d76280a49ab3fb8920cb1526c456540896b0577f321a44583ab3a4cb')
+
+prepare() {
+  cd "pcsc-lite-$pkgver"
+  patch -Np1 < ../fix-service.patch
+  autoreconf --verbose --install
+}
+
+build() {
+  cd "pcsc-lite-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --enable-filter \
+    --enable-ipcdir=/run/pcscd \
+    --enable-libudev \
+    --enable-usbdropdir=/usr/lib/pcsc/drivers \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+
+  make
+}
+
+package() {
+  cd "pcsc-lite-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  install -D -m0644 "$srcdir/pcsc-lite-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -d "$pkgdir/usr/lib/pcsc/drivers"
+}

Copied: pcsclite/repos/community-x86_64/fix-service.patch (from rev 994555, pcsclite/trunk/fix-service.patch)
===================================================================
--- fix-service.patch	                        (rev 0)
+++ fix-service.patch	2021-08-06 13:35:43 UTC (rev 994556)
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 298a18c..cd5518a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -406,6 +406,7 @@ AC_SUBST(ipcdir)
+ AC_SUBST(serialconfdir)
+ AC_SUBST(host_to_ccid_16)
+ AC_SUBST(host_to_ccid_32)
++AC_SUBST(sbindir_exp)
+ AX_RECURSIVE_EVAL($confdir,confdir_exp)
+ AX_RECURSIVE_EVAL($sbindir,sbindir_exp)
+ 



More information about the arch-commits mailing list