diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 07:01:26 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 07:01:26 -0300 |
commit | bbae8af93deb2ba9a751a78dd203b688f804f3d5 (patch) | |
tree | fb52af49b19e0a65f5e5ccdb25b7b43e01bc73df /testing/perl-throwable/APKBUILD | |
parent | d091400a226e29f5241a91572c88abc9dc59da63 (diff) | |
download | aports-bbae8af93deb2ba9a751a78dd203b688f804f3d5.tar.bz2 aports-bbae8af93deb2ba9a751a78dd203b688f804f3d5.tar.xz |
testing/perl-throwable: fix url fix license
Diffstat (limited to 'testing/perl-throwable/APKBUILD')
-rw-r--r-- | testing/perl-throwable/APKBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/testing/perl-throwable/APKBUILD b/testing/perl-throwable/APKBUILD index bf7bb69412..affa2b014d 100644 --- a/testing/perl-throwable/APKBUILD +++ b/testing/perl-throwable/APKBUILD @@ -4,15 +4,14 @@ pkgname=perl-throwable _pkgreal=Throwable pkgver=0.200013 -pkgrel=1 +pkgrel=2 pkgdesc="A role for classes that can be thrown" -url="http://search.cpan.org/dist/Throwable/" +url="https://metacpan.org/release/Throwable" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-moo perl-class-load perl-moox-types-mooselike perl-devel-stacktrace" -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" @@ -21,24 +20,20 @@ builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_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}') PERL_MM_USE_DEFAULT=1 make } check() { - cd "$builddir" PERL_MM_USE_DEFAULT=1 make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |