From f1c601533624aa87db7f8a79d555adbc97b6b2d0 Mon Sep 17 00:00:00 2001 From: dani-77 Date: Tue, 1 Oct 2024 13:39:52 +0100 Subject: [PATCH] pcsclite: 2.3.0 --- pcsclite/.checksums | 1 + pcsclite/.pkgfiles | 38 ++++++++++++++++++++++++++++++++++++++ pcsclite/spkgbuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 pcsclite/.checksums create mode 100644 pcsclite/.pkgfiles create mode 100644 pcsclite/spkgbuild diff --git a/pcsclite/.checksums b/pcsclite/.checksums new file mode 100644 index 0000000..ba1010b --- /dev/null +++ b/pcsclite/.checksums @@ -0,0 +1 @@ +194c175ba7cf4610f09c08d463edf12f63e8e6a694938049988efb10c91e15b05d91747d58013f2f35452427996e8fe2ffb3706806d17ee278dc4896eab901c0 pcsc-lite-2.3.0.tar.xz diff --git a/pcsclite/.pkgfiles b/pcsclite/.pkgfiles new file mode 100644 index 0000000..a352b4a --- /dev/null +++ b/pcsclite/.pkgfiles @@ -0,0 +1,38 @@ +pcsclite-2.3.0-1 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pcsc-spy +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/PCSC/ +-rw-r--r-- root/root usr/include/PCSC/debuglog.h +-rw-r--r-- root/root usr/include/PCSC/ifdhandler.h +-rw-r--r-- root/root usr/include/PCSC/pcsclite.h +-rw-r--r-- root/root usr/include/PCSC/reader.h +-rw-r--r-- root/root usr/include/PCSC/winscard.h +-rw-r--r-- root/root usr/include/PCSC/wintypes.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libpcsclite.so -> libpcsclite.so.1 +-rwxr-xr-x root/root usr/lib/libpcsclite.so.1 +lrwxrwxrwx root/root usr/lib/libpcsclite_real.so -> libpcsclite_real.so.1 +-rwxr-xr-x root/root usr/lib/libpcsclite_real.so.1 +lrwxrwxrwx root/root usr/lib/libpcscspy.so -> libpcscspy.so.0 +-rwxr-xr-x root/root usr/lib/libpcscspy.so.0 +drwxr-xr-x root/root usr/lib/pcsc/ +drwxr-xr-x root/root usr/lib/pcsc/drivers/ +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libpcsclite.pc +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/pcscd +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/pcsc-spy.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/reader.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/pcscd.8.gz +drwxr-xr-x root/root usr/share/metainfo/ +-rw-r--r-- root/root usr/share/metainfo/fr.apdu.pcsclite.metainfo.xml +drwxr-xr-x root/root usr/share/polkit-1/ +drwxr-xr-x root/root usr/share/polkit-1/actions/ +-rw-r--r-- root/root usr/share/polkit-1/actions/org.debian.pcsc-lite.policy diff --git a/pcsclite/spkgbuild b/pcsclite/spkgbuild new file mode 100644 index 0000000..4ba06e2 --- /dev/null +++ b/pcsclite/spkgbuild @@ -0,0 +1,30 @@ +# description : Middleware to access a smart card using SCard API (PC/SC) +# homepage : https://pcsclite.apdu.fr +# depends : polkit + +name=pcsclite +version=2.3.0 +release=1 +noextract="" +backup="" +source="https://pcsclite.apdu.fr/files/pcsc-lite-$version.tar.xz" + +build() { + meson setup pcsc-lite-$version build \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/sbin/ \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true \ + -D libudev=true \ + -D usb=true \ + -D usbdropdir=/usr/lib/pcsc/drivers \ + -D libsystemd=false + meson compile -C build + DESTDIR=$PKG meson install -C build + + rm -r $PKG/usr/share/doc + install -d $PKG/usr/lib/pcsc/drivers +}