diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:24:06 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:24:06 (GMT) |
commit | cbd4cd4604f2fb7e8ca11dea8dbe1c746ed4a622 (patch) | |
tree | 42a178d494d8a5af2af13e79296b00e46384185e /abs | |
parent | 1867c9a3586a2b35a7c9140391127fb8a56863e5 (diff) | |
download | linhes_pkgbuild-cbd4cd4604f2fb7e8ca11dea8dbe1c746ed4a622.zip linhes_pkgbuild-cbd4cd4604f2fb7e8ca11dea8dbe1c746ed4a622.tar.gz linhes_pkgbuild-cbd4cd4604f2fb7e8ca11dea8dbe1c746ed4a622.tar.bz2 |
perl-dist-checkconflicts: update to 0.11
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD | 56 |
1 files changed, 25 insertions, 31 deletions
diff --git a/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD b/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD index fc8bd28..d5207cf 100644 --- a/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD +++ b/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD @@ -1,30 +1,29 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 57550 2011-10-30 17:28:15Z juster $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis <jrcd83@gmail.com> pkgname=perl-dist-checkconflicts -pkgver=0.02 -pkgrel=1 -pkgdesc="declare version conflicts for your dist" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl-list-moreutils>=0.12' 'perl-sub-exporter') -makedepends=('perl-extutils-makemaker>=6.31') -checkdepends=('perl-test-fatal' 'perl-test-simple') -url=https://metacpan.org/release/Dist-CheckConflicts -source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-${pkgver}.tar.gz") -md5sums=(64b8d342ba11336b2969c274a60bbc5f) -sha512sums=(e3a342141b13e3604f226d53706fa50b6dc9f96c39ad9c83b074289aff852cbbab97bdf7d389d426116f609589e3d0282b033e79230a5a4ed8782e2b0e58426d) -_distdir="${srcdir}/Dist-CheckConflicts-${pkgver}" +pkgver=0.11 +pkgrel=3 +pkgdesc="Declare version conflicts for your dist" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-list-moreutils' 'perl-exporter') +makedepends=('perl-extutils-makemaker') +checkdepends=('perl-test-fatal' 'perl-module-runtime') +url="https://metacpan.org/release/Dist-CheckConflicts" +source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-$pkgver.tar.gz) +md5sums=('c8725a92b9169708b0f63036812070f2') build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ - PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null + cd Dist-CheckConflicts-$pkgver - cd "$_distdir" /usr/bin/perl Makefile.PL make ) @@ -32,19 +31,14 @@ build() { check() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" + cd Dist-CheckConflicts-$pkgver + make test ) } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} + cd Dist-CheckConflicts-$pkgver -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: + make DESTDIR="$pkgdir"/ install +} |