diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:46:45 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:46:45 (GMT) |
commit | 79ce9d7801b8bcf92eaee741fa477397d1d6e7d5 (patch) | |
tree | b22dd71eac8c6b4f9bf48a048c45447ce53800e8 /abs | |
parent | aa3060dc16642dd96c01ed60932633662f1bdec2 (diff) | |
download | linhes_pkgbuild-79ce9d7801b8bcf92eaee741fa477397d1d6e7d5.zip linhes_pkgbuild-79ce9d7801b8bcf92eaee741fa477397d1d6e7d5.tar.gz linhes_pkgbuild-79ce9d7801b8bcf92eaee741fa477397d1d6e7d5.tar.bz2 |
perl-compress-bzip2: update to 2.26
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-compress-bzip2/PKGBUILD | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/abs/core/perl_modules/perl-compress-bzip2/PKGBUILD b/abs/core/perl_modules/perl-compress-bzip2/PKGBUILD index 7f5e2bc..8f46324 100644 --- a/abs/core/perl_modules/perl-compress-bzip2/PKGBUILD +++ b/abs/core/perl_modules/perl-compress-bzip2/PKGBUILD @@ -1,26 +1,34 @@ -# $Id: PKGBUILD 160507 2012-06-02 10:27:00Z bluewind $ +# $Id$ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgname=perl-compress-bzip2 _realname=Compress-Bzip2 -pkgver=2.09 -pkgrel=5 +pkgver=2.26 +pkgrel=4 pkgdesc="Interface to Bzip2 compression library" -arch=(i686 x86_64) +arch=(x86_64) license=(GPL2) depends=(perl bzip2) -url="http://search.cpan.org/dist/Compress-Bzip2" +url="https://metacpan.org/release/Compress-Bzip2" options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/A/AR/ARJAY/$_realname-$pkgver.tar.gz") -md5sums=('1699fde3e86f2a036f135ae606d456bf') +source=(https://cpan.metacpan.org/authors/id/R/RU/RURBAN/${_realname}-${pkgver}.tar.gz) +sha256sums=('5132f0c5f377a54d77ee36d332aa0ece585c22a40f2c31f2619e40262f5c4f0c') build() { - cd "$srcdir/$_realname-$pkgver" + cd $_realname-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd "$srcdir/$_realname-$pkgver" + 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; } |