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