30 lines
736 B
Plaintext
30 lines
736 B
Plaintext
# Description: Middleware to access a smart card using SCard API (PC/SC)
|
|
# URL: https://pcsclite.apdu.fr
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: polkit
|
|
|
|
name=pcsclite
|
|
version=2.2.3
|
|
release=1
|
|
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
|
|
}
|