[arch-commits] Commit in opensc/trunk (PKGBUILD bash-completion-path.patch)
Timothy Redaelli
tredaelli at archlinux.org
Tue Feb 9 14:14:32 UTC 2016
Date: Tuesday, February 9, 2016 @ 15:14:32
Author: tredaelli
Revision: 161003
upgpkg: opensc 0.15.0-2
Added:
opensc/trunk/bash-completion-path.patch
Modified:
opensc/trunk/PKGBUILD
----------------------------+
PKGBUILD | 14 +++++++++++---
bash-completion-path.patch | 11 +++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-09 11:54:01 UTC (rev 161002)
+++ PKGBUILD 2016-02-09 14:14:32 UTC (rev 161003)
@@ -5,7 +5,7 @@
pkgname=opensc
pkgver=0.15.0
-pkgrel=1
+pkgrel=2
pkgdesc='Tools and libraries for smart cards'
arch=('x86_64' 'i686')
url='https://github.com/OpenSC/OpenSC/wiki'
@@ -14,13 +14,21 @@
makedepends=('docbook-xsl')
depends=('openssl' 'pcsclite' 'libltdl')
options=('!emptydirs')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('01e6b803865f7b7574ee65a7b2d63c17')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+ bash-completion-path.patch)
+md5sums=('01e6b803865f7b7574ee65a7b2d63c17'
+ '3912c0a976700a5bba535f1c4278aec0')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np0 -i "$srcdir"/bash-completion-path.patch
+}
+
build() {
cd $pkgname-$pkgver
export LIBS=-lltdl
_sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*)
+ ./bootstrap
./configure \
--prefix=/usr \
--sysconfdir=/etc \
Added: bash-completion-path.patch
===================================================================
--- bash-completion-path.patch (rev 0)
+++ bash-completion-path.patch 2016-02-09 14:14:32 UTC (rev 161003)
@@ -0,0 +1,11 @@
+--- 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 $<
More information about the arch-commits
mailing list