[arch-commits] Commit in pcsc-perl/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Jun 1 12:08:17 UTC 2017
Date: Thursday, June 1, 2017 @ 12:08:16
Author: foutrelis
Revision: 232237
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
pcsc-perl/repos/community-staging-i686/
pcsc-perl/repos/community-staging-i686/PKGBUILD
(from rev 232236, pcsc-perl/trunk/PKGBUILD)
pcsc-perl/repos/community-staging-x86_64/
pcsc-perl/repos/community-staging-x86_64/PKGBUILD
(from rev 232236, pcsc-perl/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: pcsc-perl/repos/community-staging-i686/PKGBUILD (from rev 232236, pcsc-perl/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-01 12:08:16 UTC (rev 232237)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: neuromante <lorenzo.nizzi.grifi at gmail.com>
+# Contributor: marc0s <marc0s at fsfe.org>
+
+pkgname=pcsc-perl
+pkgver=1.4.14
+pkgrel=3
+pkgdesc="A Perl Module for PC/SC SmartCard access"
+arch=('i686' 'x86_64')
+url="http://ludovic.rousseau.free.fr/softwares/pcsc-perl/"
+license=('GPL' 'PerlArtistic')
+depends=('pcsclite' 'perl')
+makedepends=('pkgconfig')
+options=('!emptydirs')
+source=("http://ludovic.rousseau.free.fr/softwares/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('45601505dbb7b27329811ac9bad35fab')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Copied: pcsc-perl/repos/community-staging-x86_64/PKGBUILD (from rev 232236, pcsc-perl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-06-01 12:08:16 UTC (rev 232237)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: neuromante <lorenzo.nizzi.grifi at gmail.com>
+# Contributor: marc0s <marc0s at fsfe.org>
+
+pkgname=pcsc-perl
+pkgver=1.4.14
+pkgrel=3
+pkgdesc="A Perl Module for PC/SC SmartCard access"
+arch=('i686' 'x86_64')
+url="http://ludovic.rousseau.free.fr/softwares/pcsc-perl/"
+license=('GPL' 'PerlArtistic')
+depends=('pcsclite' 'perl')
+makedepends=('pkgconfig')
+options=('!emptydirs')
+source=("http://ludovic.rousseau.free.fr/softwares/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('45601505dbb7b27329811ac9bad35fab')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
More information about the arch-commits
mailing list