pkgname=pcsclite pkgver=2.3.1 pkgrel=1 pkgdesc="PC/SC Architecture smartcard middleware library" arch=('x86_64') url="https://pcsclite.apdu.fr/" license=('BSD-3-Clause' 'GPL-3.0-or-later' 'BSD-2-Clause' '0BSD') depends=('polkit' 'systemd') makedepends=('git' 'meson') backup=(etc/default/pcscd) source=(git+https://github.com/LudovicRousseau/PCSC.git#tag=${pkgver}) sha256sums=(6c2af5bcd2da0418d712dadd091d386ef01acdc14f112f327f9498f09d89eca1) build() { cd PCSC local meson_args=( -Dlibsystemd=true -Dlibudev=true -Dpolkit=true -Dserial=true -Dsystemdunit=system ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd PCSC ${meson_install} ${pkgdir} }