[arch-commits] Commit in opensc/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Mon Mar 20 10:32:02 UTC 2017


    Date: Monday, March 20, 2017 @ 10:32:01
  Author: jgc
Revision: 217543

upgpkg: opensc 0.16.0-3

Build with OpenSSL 1.0 for now

Modified:
  opensc/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-20 10:26:18 UTC (rev 217542)
+++ PKGBUILD	2017-03-20 10:32:01 UTC (rev 217543)
@@ -5,7 +5,7 @@
 
 pkgname=opensc
 pkgver=0.16.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Tools and libraries for smart cards'
 arch=('x86_64' 'i686')
 url='https://github.com/OpenSC/OpenSC/wiki'
@@ -12,7 +12,7 @@
 license=('LGPL')
 backup=('etc/opensc.conf')
 makedepends=('docbook-xsl')
-depends=('pcsclite' 'libltdl')
+depends=('pcsclite' 'libltdl' 'openssl-1.0')
 options=('!emptydirs')
 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
         bash-completion-path.patch)
@@ -27,6 +27,7 @@
 build() {
   cd $pkgname-$pkgver
   export LIBS=-lltdl
+  export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
   _sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*)
   ./bootstrap
   ./configure \
@@ -40,6 +41,7 @@
     --enable-zlib \
     --enable-sm \
     --with-xsl-stylesheetsdir="$_sheetdir"
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 



More information about the arch-commits mailing list