Commit 17f0165c authored by Luca Giambonini's avatar Luca Giambonini

opensc 0.17.0 fix #48 [skip-ci]

parent 7f97a96a
Pipeline #232 skipped
pkgname=opensc
pkgver=0.15.0
pkgver=0.17.0
pkgrel=1
pkgdesc='Tools and libraries for smart cards'
arch=('x86_64')
......@@ -8,17 +8,16 @@ license=('LGPL')
backup=('etc/opensc.conf')
makedepends=('docbook-xsl')
depends=('openssl' 'pcsclite' 'libltdl')
provides=('opensc-opendnie')
conflicts=('opensc-opendnie')
replaces=('opensc-opendnie')
options=('!emptydirs')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('01e6b803865f7b7574ee65a7b2d63c17')
source=("https://github.com/OpenSC/OpenSC/releases/download/$pkgver/opensc-$pkgver.tar.gz"
bash-completion-path.patch)
sha256sums=('be73c6816867ab4721e6a9ae7dba8e890c5f169f0a2cbb4bf354e0f30a948300'
'bd0991dc8d68b21704104aba4d3470f4f4f50bf36547569ed032b48fd3aed811')
build() {
cd $pkgname-$pkgver
export LIBS=-lltdl
_sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*)
./bootstrap
./configure \
--prefix=/usr \
--sysconfdir=/etc \
......@@ -30,6 +29,7 @@ build() {
--enable-zlib \
--enable-sm \
--with-xsl-stylesheetsdir="$_sheetdir"
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
......
--- 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