Commit ad66f686 authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] opensc: update to 0.19.0

parent 21d218ea
Pipeline #3884 skipped
pkgname=opensc
pkgver=0.17.0
pkgver=0.19.0
pkgrel=1
pkgdesc='Tools and libraries for smart cards'
arch=('x86_64')
......@@ -7,12 +7,10 @@ url='https://github.com/OpenSC/OpenSC/wiki'
license=('LGPL')
backup=('etc/opensc.conf')
makedepends=('docbook-xsl')
depends=('openssl' 'pcsclite' 'libltdl')
depends=('pcsclite' 'glib2' 'libltdl')
options=('!emptydirs')
source=("https://github.com/OpenSC/OpenSC/releases/download/$pkgver/opensc-$pkgver.tar.gz"
bash-completion-path.patch)
sha256sums=('be73c6816867ab4721e6a9ae7dba8e890c5f169f0a2cbb4bf354e0f30a948300'
'bd0991dc8d68b21704104aba4d3470f4f4f50bf36547569ed032b48fd3aed811')
source=("https://github.com/OpenSC/OpenSC/releases/download/$pkgver/opensc-$pkgver.tar.gz")
sha256sums=('2c5a0e4df9027635290b9c0f3addbbf0d651db5ddb0ab789cb0e978f02fd5826')
build() {
cd $pkgname-$pkgver
......@@ -21,6 +19,7 @@ build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-completiondir=/usr/share/bash-completion/completions \
--enable-man \
--enable-doc \
--enable-readline \
......
--- doc/tools/Makefile.am.orig
+++ doc/tools/Makefile.am
@@ -11,7 +11,7 @@
endif
completion_DATA = $(patsubst $(srcdir)/%.1.xml, %, $(wildcard $(srcdir)/*.1.xml))
-completiondir = $(sysconfdir)/bash_completion.d
+completiondir = $(datarootdir)/bash-completion/completions
tools.html: $(srcdir)/tools.xml $(wildcard $(srcdir)/*.1.xml) $(wildcard $(srcdir)/*.5.xml)
$(XSLTPROC) --nonet --path "$(srcdir)/..:$(xslstylesheetsdir)/html" --xinclude -o $@ html.xsl $<
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment