Date: Thursday, August 24, 2017 @ 13:31:08 Author: foutrelis Revision: 303449
archrelease: copy trunk to staging-i686, staging-x86_64 Added: perl-compress-bzip2/repos/staging-i686/ perl-compress-bzip2/repos/staging-i686/PKGBUILD (from rev 303448, perl-compress-bzip2/trunk/PKGBUILD) perl-compress-bzip2/repos/staging-x86_64/ perl-compress-bzip2/repos/staging-x86_64/PKGBUILD (from rev 303448, perl-compress-bzip2/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: perl-compress-bzip2/repos/staging-i686/PKGBUILD (from rev 303448, perl-compress-bzip2/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-08-24 13:31:08 UTC (rev 303449) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=perl-compress-bzip2 +_realname=Compress-Bzip2 +pkgver=2.26 +pkgrel=3 +pkgdesc="Interface to Bzip2 compression library" +arch=(i686 x86_64) +license=(GPL2) +depends=(perl bzip2) +url="https://metacpan.org/release/Compress-Bzip2" +options=('!emptydirs') +source=(https://cpan.metacpan.org/authors/id/R/RU/RURBAN/${_realname}-${pkgver}.tar.gz) +sha256sums=('5132f0c5f377a54d77ee36d332aa0ece585c22a40f2c31f2619e40262f5c4f0c') + +build() { + cd $_realname-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $_realname-$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-compress-bzip2/repos/staging-x86_64/PKGBUILD (from rev 303448, perl-compress-bzip2/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2017-08-24 13:31:08 UTC (rev 303449) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=perl-compress-bzip2 +_realname=Compress-Bzip2 +pkgver=2.26 +pkgrel=3 +pkgdesc="Interface to Bzip2 compression library" +arch=(i686 x86_64) +license=(GPL2) +depends=(perl bzip2) +url="https://metacpan.org/release/Compress-Bzip2" +options=('!emptydirs') +source=(https://cpan.metacpan.org/authors/id/R/RU/RURBAN/${_realname}-${pkgver}.tar.gz) +sha256sums=('5132f0c5f377a54d77ee36d332aa0ece585c22a40f2c31f2619e40262f5c4f0c') + +build() { + cd $_realname-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $_realname-$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; +}