Date: Friday, May 27, 2016 @ 10:01:55 Author: bluewind Revision: 268684
db-move: moved perl-yaml-syck from [staging] to [testing] (i686, x86_64) Added: perl-yaml-syck/repos/testing-i686/ perl-yaml-syck/repos/testing-i686/PKGBUILD (from rev 268683, perl-yaml-syck/repos/staging-i686/PKGBUILD) perl-yaml-syck/repos/testing-x86_64/ perl-yaml-syck/repos/testing-x86_64/PKGBUILD (from rev 268683, perl-yaml-syck/repos/staging-x86_64/PKGBUILD) Deleted: perl-yaml-syck/repos/staging-i686/ perl-yaml-syck/repos/staging-x86_64/ -------------------------+ testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) Copied: perl-yaml-syck/repos/testing-i686/PKGBUILD (from rev 268683, perl-yaml-syck/repos/staging-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-05-27 08:01:55 UTC (rev 268684) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-yaml-syck +pkgver=1.29 +pkgrel=3 +pkgdesc="Fast, lightweight YAML loader and dumper" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/YAML-Syck/" +license=('BSD' 'custom') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-$pkgver.tar.gz) +md5sums=('0f906ae8b3747039b26c29c481cda607') + +build() { + cd YAML-Syck-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd YAML-Syck-$pkgver + make test +} + +package() { + cd YAML-Syck-$pkgver + make install DESTDIR="${pkgdir}" + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +# 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-yaml-syck/repos/testing-x86_64/PKGBUILD (from rev 268683, perl-yaml-syck/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-05-27 08:01:55 UTC (rev 268684) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-yaml-syck +pkgver=1.29 +pkgrel=3 +pkgdesc="Fast, lightweight YAML loader and dumper" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/YAML-Syck/" +license=('BSD' 'custom') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-$pkgver.tar.gz) +md5sums=('0f906ae8b3747039b26c29c481cda607') + +build() { + cd YAML-Syck-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd YAML-Syck-$pkgver + make test +} + +package() { + cd YAML-Syck-$pkgver + make install DESTDIR="${pkgdir}" + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +# 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; +}