aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-exporter-lite
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-28 01:21:51 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-28 01:21:51 -0300
commite7689e080faea25a56bb8dc2732cb74fb95df895 (patch)
tree2c2604a603475b2931359c172066766c7e14976d /testing/perl-exporter-lite
parent0cee97f6eeb9804fdae59f3700f78eac401874c1 (diff)
downloadaports-e7689e080faea25a56bb8dc2732cb74fb95df895.tar.bz2
aports-e7689e080faea25a56bb8dc2732cb74fb95df895.tar.xz
testing/perl-exporter-lite: fix url fix license
Diffstat (limited to 'testing/perl-exporter-lite')
-rw-r--r--testing/perl-exporter-lite/APKBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/testing/perl-exporter-lite/APKBUILD b/testing/perl-exporter-lite/APKBUILD
index d64367bf33..3c3c9a89bf 100644
--- a/testing/perl-exporter-lite/APKBUILD
+++ b/testing/perl-exporter-lite/APKBUILD
@@ -4,36 +4,30 @@
pkgname=perl-exporter-lite
_pkgreal=Exporter-Lite
pkgver=0.08
-pkgrel=0
+pkgrel=1
pkgdesc="Lightweight exporting of functions and variables"
-url="http://search.cpan.org/dist/Exporter-Lite/"
+url="https://metacpan.org/release/Exporter-Lite"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
- cd "$builddir"
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}')
make && make test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}