Date: Tuesday, March 20, 2018 @ 03:36:05 Author: felixonmars Revision: 319675
archrelease: copy trunk to extra-x86_64 Added: perl-dbi/repos/extra-x86_64/PKGBUILD (from rev 319674, perl-dbi/trunk/PKGBUILD) Deleted: perl-dbi/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-03-20 03:35:22 UTC (rev 319674) +++ PKGBUILD 2018-03-20 03:36:05 UTC (rev 319675) @@ -1,38 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=perl-dbi -pkgver=1.640 -pkgrel=1 -pkgdesc="Database independent interface for Perl" -arch=('x86_64') -url="http://search.cpan.org/dist/DBI/" -license=('GPL' 'PerlArtistic') -depends=('perl') -checkdepends=('perl-test-pod' 'perl-test-pod-coverage') -options=('!emptydirs') -source=(http://www.cpan.org/authors/id/T/TI/TIMB/DBI-$pkgver.tar.gz) -sha512sums=('d2d08d1caa5779d3673ccddd9836fb4edf42909880cdb7c8554d09527bd6d44faf410cb1587a0ad880b0677abf21fd3ef71458b889d5a1bb5cecda020bdb4bb0') - -build() { - cd DBI-$pkgver - perl Makefile.PL INSTALLDIRS=vendor - make -} - -check() { - cd DBI-$pkgver - make test -} - -package() { - cd DBI-$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-dbi/repos/extra-x86_64/PKGBUILD (from rev 319674, perl-dbi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-20 03:36:05 UTC (rev 319675) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-dbi +pkgver=1.641 +pkgrel=1 +pkgdesc="Database independent interface for Perl" +arch=('x86_64') +url="http://search.cpan.org/dist/DBI/" +license=('GPL' 'PerlArtistic') +depends=('perl') +checkdepends=('perl-test-pod' 'perl-test-pod-coverage') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/T/TI/TIMB/DBI-$pkgver.tar.gz) +sha512sums=('093eb28526e8290c0599437cd624b3e670cfff0ec149c1e8ad942f9f7facdafd2a8225bbf4efdb0d40ecf5a6088093ff9faec826cd4ec88bd0abd6125812137a') + +build() { + cd DBI-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd DBI-$pkgver + make test +} + +package() { + cd DBI-$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; +}