mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:43:12 +08:00
[skip-ci] pcsclite: update to 1.8.24
This commit is contained in:
parent
3fc5b81753
commit
08821f8dac
@ -1,37 +1,39 @@
|
||||
pkgname=pcsclite
|
||||
_pkgname=pcsc-lite
|
||||
pkgver=1.8.20
|
||||
_code=39
|
||||
pkgver=1.8.24
|
||||
pkgrel=1
|
||||
pkgdesc="PC/SC Architecture smartcard middleware library"
|
||||
arch=('x86_64')
|
||||
url="https://alioth.debian.org/projects/pcsclite/"
|
||||
url='https://pcsclite.apdu.fr/'
|
||||
license=('BSD')
|
||||
depends=('udev')
|
||||
options=('!libtool' '!docs')
|
||||
source=("https://alioth.debian.org/frs/download.php/latestfile/${_code}/pcsc-lite-${pkgver}.tar.bz2")
|
||||
sha256sums=('ec7d0114016c788c1c09859c84860f6cec6c4595436d23245105154b9c046bb2')
|
||||
depends=('python3' 'systemd')
|
||||
makedepends=('pkg-config')
|
||||
options=('!docs')
|
||||
source=("https://pcsclite.apdu.fr/files/pcsc-lite-${pkgver}.tar.bz2"{,.asc})
|
||||
sha256sums=('b81864fa6a5ec776639c02ae89998955f7702a8d10e8b8f70023c5a599d97568'
|
||||
'SKIP')
|
||||
validpgpkeys=('F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E') # Ludovic Rousseau <rousseau@debian.org>
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/pcsc-lite-${pkgver}"
|
||||
|
||||
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||
sed -i -e "s:python:python2:g" src/spy/pcsc-spy
|
||||
|
||||
./configure --enable-ipcdir=/run/pcscd \
|
||||
--enable-libudev \
|
||||
--enable-usbdropdir=/usr/lib/pcsc/drivers \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
./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 "${srcdir}/${_pkgname}-${pkgver}"
|
||||
cd "${srcdir}/pcsc-lite-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
install -D "${srcdir}/${_pkgname}-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
|
||||
install -d "${pkgdir}/usr/lib/pcsc/drivers"
|
||||
install -D -m644 ${srcdir}/pcsc-lite-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
install -d ${pkgdir}/usr/lib/pcsc/drivers
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user