diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 21:01:05 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 21:01:05 (GMT) |
commit | ce2af3c648501816407dba3dec3b09ba8f11ae91 (patch) | |
tree | 73866dd22c0fef7cd7c50a79b96b3f0f1c288639 | |
parent | 8a25c016185d44632e65ecf2d59428803e6781a8 (diff) | |
download | linhes_pkgbuild-ce2af3c648501816407dba3dec3b09ba8f11ae91.zip linhes_pkgbuild-ce2af3c648501816407dba3dec3b09ba8f11ae91.tar.gz linhes_pkgbuild-ce2af3c648501816407dba3dec3b09ba8f11ae91.tar.bz2 |
perl-list-compare: update tp 0.53
-rw-r--r-- | abs/core/perl_modules/perl-list-compare/PKGBUILD | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/abs/core/perl_modules/perl-list-compare/PKGBUILD b/abs/core/perl_modules/perl-list-compare/PKGBUILD index 7480b98..66d3162 100644 --- a/abs/core/perl_modules/perl-list-compare/PKGBUILD +++ b/abs/core/perl_modules/perl-list-compare/PKGBUILD @@ -1,26 +1,33 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Cecil H. Watson <knoppmyth@gmail.com> +# Maintainer: Simon Perry <aur [at] sanxion [dot] net> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> pkgname=perl-list-compare -_realname=List-Compare -pkgver=0.37 +_pkgname=List-Compare +pkgver=0.53 pkgrel=2 -pkgdesc="List::Compare - Compare elements of two or more lists" -arch=(i686 x86_64) -license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perlxml' 'perl>=5.10.0') -groups=('shepherd-dep') +pkgdesc="Compare elements of two or more lists" +arch=('any') +url="http://search.cpan.org/~JKEENAN/List-Compare/" +license=('GPL' 'PerlArtistic') +makedepends=('perl-io-captureoutput') +depends=('perl') options=('!emptydirs') -source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/J/JK/JKEENAN/${_realname}-${pkgver}.tar.gz) -md5sums=('7c730dd58cc31a5bbb8eb7006edd1704') +source=(http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/${_pkgname}-$pkgver.tar.gz) +sha256sums=('fdbf4ff67b3135d44475fef7fcac0cd4706407d5720d26dca914860eb10f8550') build() { - cd ${startdir}/src/${_realname}-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + cd $srcdir/${_pkgname}-$pkgver - find ${startdir}/pkg -name '.packlist' -delete - find ${startdir}/pkg -name 'perllocal.pod' -delete + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } + +package() { + cd $srcdir/${_pkgname}-$pkgver + + make DESTDIR=${pkgdir} install + + find $pkgdir -name perllocal.pod -delete + find $pkgdir -name .packlist -delete +} + |