diff options
Diffstat (limited to 'testing/perl-email-abstract')
-rw-r--r-- | testing/perl-email-abstract/APKBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/testing/perl-email-abstract/APKBUILD b/testing/perl-email-abstract/APKBUILD index e2751ef83d..9522a1c8bb 100644 --- a/testing/perl-email-abstract/APKBUILD +++ b/testing/perl-email-abstract/APKBUILD @@ -4,39 +4,34 @@ pkgname=perl-email-abstract _pkgreal=Email-Abstract pkgver=3.008 -pkgrel=1 +pkgrel=2 pkgdesc="Unified interface to mail representations" -url="http://search.cpan.org/dist/Email-Abstract/" +url="https://metacpan.org/release/Email-Abstract" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-mro-compat perl-email-simple perl-module-pluggable" -cpanmakedepends="" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { - cd "$builddir" make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |