Date: Wednesday, January 17, 2018 @ 15:10:31 Author: spupykin Revision: 283698
archrelease: copy trunk to community-any Added: perl-specio/repos/community-any/PKGBUILD (from rev 283697, perl-specio/trunk/PKGBUILD) Deleted: perl-specio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-17 15:10:14 UTC (rev 283697) +++ PKGBUILD 2018-01-17 15:10:31 UTC (rev 283698) @@ -1,33 +0,0 @@ -# $Id: PKGBUILD 191857 2016-10-10 11:17:38Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=perl-specio -pkgver=0.36 -pkgrel=2 -pkgdesc="Type constraints and coercions for Perl" -arch=('any') -url="http://search.cpan.org/dist/Specio" -license=('GPL' 'PerlArtistic') -depends=('perl-role-tiny' 'perl-test-fatal' 'perl-mro-compat' 'perl-devel-stacktrace') -options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Specio-$pkgver.tar.gz) -sha256sums=('1399113b178dd9a2443f0e05bfd5bc665931442bf9e31b223893c7d2853c4480') - -build() { - cd "$srcdir"/Specio-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor - make -} -package() { - cd "$srcdir"/Specio-$pkgver - make install DESTDIR="$pkgdir" - find "$pkgdir" -name '.packlist' -delete - find "$pkgdir" -name '*.pod' -delete -# 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-specio/repos/community-any/PKGBUILD (from rev 283697, perl-specio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-17 15:10:31 UTC (rev 283698) @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 191857 2016-10-10 11:17:38Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=perl-specio +pkgver=0.42 +pkgrel=1 +pkgdesc="Type constraints and coercions for Perl" +arch=('any') +url="http://search.cpan.org/dist/Specio" +license=('GPL' 'PerlArtistic') +depends=('perl-role-tiny' 'perl-test-fatal' 'perl-mro-compat' 'perl-devel-stacktrace') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Specio-$pkgver.tar.gz) +sha256sums=('23298b93a26d7ae3c1d58106f5898d84ddc71b626afdbf801bddb04d5e524ef6') + +build() { + cd "$srcdir"/Specio-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package() { + cd "$srcdir"/Specio-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +# 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; +}