diff options
author | Jakob Gahde | 2023-01-01 15:41:04 +0100 |
---|---|---|
committer | Jakob Gahde | 2023-01-01 15:41:04 +0100 |
commit | 59582094c34bb03def30258a3a14ba84855bcced (patch) | |
tree | b7e027a918ee60fc300fb570c3c7ab1b3cce464f | |
parent | 5e23bb37bf2335e834ab973808402771e3699475 (diff) | |
download | aur-59582094c34bb03def30258a3a14ba84855bcced.tar.gz |
perl-mixin-linewise 0.111-1: Update to new version
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 22 insertions, 32 deletions
@@ -1,15 +1,14 @@ pkgbase = perl-mixin-linewise - pkgdesc = write your linewise code for handles; this does the rest - pkgver = 0.110 + pkgdesc = Write your linewise code for handles; this does the rest + pkgver = 0.111 pkgrel = 1 - url = https://metacpan.org/release/Mixin-Linewise + url = https://metacpan.org/dist/Mixin-Linewise arch = any license = PerlArtistic license = GPL depends = perl-sub-exporter depends = perl-perlio-utf8-strict - options = !emptydirs - source = https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Mixin-Linewise-0.110.tar.gz - sha256sums = a7f120b7aa82dfb1a5ad1aa11abd33232b26a2b09c654e649e97a3c2128b1d8b + source = https://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-0.111.tar.gz + sha512sums = 282c9bbb825ee05f1d916fdfb1caad6c04a917a26c10ae18dc9883706e612915186c49a96209af254329f346bc731547a20ff2db136f0ceaf1edd5d21b120195 pkgname = perl-mixin-linewise @@ -1,42 +1,33 @@ -# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com > +# Maintainer: Jakob Gahde <j5lx@fmail.co.uk> +# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com > # Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> -pkgname='perl-mixin-linewise' -pkgver='0.110' -pkgrel='1' -pkgdesc="write your linewise code for handles; this does the rest" +pkgname=perl-mixin-linewise +pkgver=0.111 +pkgrel=1 +pkgdesc="Write your linewise code for handles; this does the rest" arch=('any') +url="https://metacpan.org/dist/Mixin-Linewise" license=('PerlArtistic' 'GPL') -options=('!emptydirs') depends=('perl-sub-exporter' 'perl-perlio-utf8-strict') -url='https://metacpan.org/release/Mixin-Linewise' -source=('https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Mixin-Linewise-0.110.tar.gz') -sha256sums=('a7f120b7aa82dfb1a5ad1aa11abd33232b26a2b09c654e649e97a3c2128b1d8b') -_distdir="Mixin-Linewise-0.110" +source=("https://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-${pkgver}.tar.gz") +sha512sums=('282c9bbb825ee05f1d916fdfb1caad6c04a917a26c10ae18dc9883706e612915186c49a96209af254329f346bc731547a20ff2db136f0ceaf1edd5d21b120195') 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'" \ - MODULEBUILDRC=/dev/null + cd "${srcdir}/Mixin-Linewise-${pkgver}" - cd "$srcdir/$_distdir" - /usr/bin/perl Makefile.PL - make - ) + perl Makefile.PL NO_PACKLIST=true NO_PERLLOCAL=true + make } check() { - cd "$srcdir/$_distdir" - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - make test - ) + cd "${srcdir}/Mixin-Linewise-${pkgver}" + + make test } package() { - cd "$srcdir/$_distdir" - make install + cd "${srcdir}/Mixin-Linewise-${pkgver}" - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" } |