diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:13:28 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:13:28 -0300 |
commit | 4528980be951bc7a9367020a7307cb289cef9144 (patch) | |
tree | 1b223b788ecce65cc608fa8642453cfa4311d395 /testing/perl-class-inner | |
parent | e2ef39ac212f16b427452017a9f411f7288bac99 (diff) | |
download | aports-4528980be951bc7a9367020a7307cb289cef9144.tar.bz2 aports-4528980be951bc7a9367020a7307cb289cef9144.tar.xz |
testing/perl-class-inner: fix url fix license
Diffstat (limited to 'testing/perl-class-inner')
-rw-r--r-- | testing/perl-class-inner/APKBUILD | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/testing/perl-class-inner/APKBUILD b/testing/perl-class-inner/APKBUILD index e00a0694a3..ab01e8f598 100644 --- a/testing/perl-class-inner/APKBUILD +++ b/testing/perl-class-inner/APKBUILD @@ -4,43 +4,34 @@ pkgname=perl-class-inner _pkgreal=Class-Inner pkgver=0.200001 -pkgrel=0 +pkgrel=1 pkgdesc="An implementation of Java like inner classes" url="http://search.cpan.org/dist/Class-Inner/" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -cpancheckdepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -checkdepends="$cpancheckdepends" +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/A/AR/ARUNBEAR/$_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 } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } check() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } |