[arch-commits] Commit in perl-package-stash-xs/repos (6 files)
Florian Pritz
bluewind at archlinux.org
Fri May 27 08:02:08 UTC 2016
Date: Friday, May 27, 2016 @ 10:02:07
Author: bluewind
Revision: 177225
db-move: moved perl-package-stash-xs from [community-staging] to [community-testing] (i686, x86_64)
Added:
perl-package-stash-xs/repos/community-testing-i686/
perl-package-stash-xs/repos/community-testing-i686/PKGBUILD
(from rev 177224, perl-package-stash-xs/repos/community-staging-i686/PKGBUILD)
perl-package-stash-xs/repos/community-testing-x86_64/
perl-package-stash-xs/repos/community-testing-x86_64/PKGBUILD
(from rev 177224, perl-package-stash-xs/repos/community-staging-x86_64/PKGBUILD)
Deleted:
perl-package-stash-xs/repos/community-staging-i686/
perl-package-stash-xs/repos/community-staging-x86_64/
-----------------------------------+
community-testing-i686/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
Copied: perl-package-stash-xs/repos/community-testing-i686/PKGBUILD (from rev 177224, perl-package-stash-xs/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-27 08:02:07 UTC (rev 177225)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-package-stash-xs
+pkgver=0.28
+pkgrel=4
+pkgdesc="Faster and more correct implementation of the Package::Stash API"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Package-Stash-XS"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+makedepends=('perl-extutils-makemaker')
+checkdepends=('perl-test-fatal' 'perl-test-simple' 'perl-test-requires')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-$pkgver.tar.gz)
+md5sums=('9664356ec3be02626cbd3081ec246b70')
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
+ MODULEBUILDRC=/dev/null
+
+ cd Package-Stash-XS-${pkgver}
+
+ /usr/bin/perl Makefile.PL
+
+ make
+ )
+}
+
+check() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ cd Package-Stash-XS-${pkgver}
+
+ make test
+ )
+}
+
+package() {
+ cd Package-Stash-XS-${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: perl-package-stash-xs/repos/community-testing-x86_64/PKGBUILD (from rev 177224, perl-package-stash-xs/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-05-27 08:02:07 UTC (rev 177225)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-package-stash-xs
+pkgver=0.28
+pkgrel=4
+pkgdesc="Faster and more correct implementation of the Package::Stash API"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Package-Stash-XS"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+makedepends=('perl-extutils-makemaker')
+checkdepends=('perl-test-fatal' 'perl-test-simple' 'perl-test-requires')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-$pkgver.tar.gz)
+md5sums=('9664356ec3be02626cbd3081ec246b70')
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
+ MODULEBUILDRC=/dev/null
+
+ cd Package-Stash-XS-${pkgver}
+
+ /usr/bin/perl Makefile.PL
+
+ make
+ )
+}
+
+check() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ cd Package-Stash-XS-${pkgver}
+
+ make test
+ )
+}
+
+package() {
+ cd Package-Stash-XS-${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