Date: Friday, May 19, 2017 @ 07:05:37
  Author: arojas
Revision: 228505

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  opensc/repos/community-staging-i686/
  opensc/repos/community-staging-i686/PKGBUILD
    (from rev 228504, opensc/trunk/PKGBUILD)
  opensc/repos/community-staging-i686/bash-completion-path.patch
    (from rev 228504, opensc/trunk/bash-completion-path.patch)
  opensc/repos/community-staging-x86_64/
  opensc/repos/community-staging-x86_64/PKGBUILD
    (from rev 228504, opensc/trunk/PKGBUILD)
  opensc/repos/community-staging-x86_64/bash-completion-path.patch
    (from rev 228504, opensc/trunk/bash-completion-path.patch)

-----------------------------------------------------+
 community-staging-i686/PKGBUILD                     |   54 ++++++++++++++++++
 community-staging-i686/bash-completion-path.patch   |   11 +++
 community-staging-x86_64/PKGBUILD                   |   54 ++++++++++++++++++
 community-staging-x86_64/bash-completion-path.patch |   11 +++
 4 files changed, 130 insertions(+)

Copied: opensc/repos/community-staging-i686/PKGBUILD (from rev 228504, 
opensc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2017-05-19 07:05:37 UTC (rev 228505)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com>
+# Contributor: S├ębastien Luttringer
+# Contributor: kevku <ke...@msn.com>
+
+pkgname=opensc
+pkgver=0.16.0
+pkgrel=5
+pkgdesc='Tools and libraries for smart cards'
+arch=('x86_64' 'i686')
+url='https://github.com/OpenSC/OpenSC/wiki'
+license=('LGPL')
+backup=('etc/opensc.conf')
+makedepends=('docbook-xsl')
+depends=('pcsclite' 'libltdl' 'openssl-1.0')
+options=('!emptydirs')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz";
+        bash-completion-path.patch)
+md5sums=('724d128f23cd7a74b28d04300ce7bcbd'
+         '3912c0a976700a5bba535f1c4278aec0')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np0 -i "$srcdir"/bash-completion-path.patch
+}
+
+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 \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --enable-man \
+    --enable-doc \
+    --enable-readline \
+    --enable-openssl \
+    --enable-pcsc \
+    --enable-zlib \
+    --enable-sm \
+    --with-xsl-stylesheetsdir="$_sheetdir"
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package(){
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 etc/opensc.conf "$pkgdir/etc/opensc.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opensc/repos/community-staging-i686/bash-completion-path.patch (from 
rev 228504, opensc/trunk/bash-completion-path.patch)
===================================================================
--- community-staging-i686/bash-completion-path.patch                           
(rev 0)
+++ community-staging-i686/bash-completion-path.patch   2017-05-19 07:05:37 UTC 
(rev 228505)
@@ -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 $<

Copied: opensc/repos/community-staging-x86_64/PKGBUILD (from rev 228504, 
opensc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-19 07:05:37 UTC (rev 228505)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com>
+# Contributor: S├ębastien Luttringer
+# Contributor: kevku <ke...@msn.com>
+
+pkgname=opensc
+pkgver=0.16.0
+pkgrel=5
+pkgdesc='Tools and libraries for smart cards'
+arch=('x86_64' 'i686')
+url='https://github.com/OpenSC/OpenSC/wiki'
+license=('LGPL')
+backup=('etc/opensc.conf')
+makedepends=('docbook-xsl')
+depends=('pcsclite' 'libltdl' 'openssl-1.0')
+options=('!emptydirs')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz";
+        bash-completion-path.patch)
+md5sums=('724d128f23cd7a74b28d04300ce7bcbd'
+         '3912c0a976700a5bba535f1c4278aec0')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np0 -i "$srcdir"/bash-completion-path.patch
+}
+
+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 \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --enable-man \
+    --enable-doc \
+    --enable-readline \
+    --enable-openssl \
+    --enable-pcsc \
+    --enable-zlib \
+    --enable-sm \
+    --with-xsl-stylesheetsdir="$_sheetdir"
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package(){
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 etc/opensc.conf "$pkgdir/etc/opensc.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opensc/repos/community-staging-x86_64/bash-completion-path.patch (from 
rev 228504, opensc/trunk/bash-completion-path.patch)
===================================================================
--- community-staging-x86_64/bash-completion-path.patch                         
(rev 0)
+++ community-staging-x86_64/bash-completion-path.patch 2017-05-19 07:05:37 UTC 
(rev 228505)
@@ -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 $<

Reply via email to