aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-class-c3-componentised/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-27 23:12:24 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-27 23:12:24 -0300
commit360e2e8b16b78eee92d5099895cee800ca660e45 (patch)
tree9f8229f014208d4d2b55e21a6947addb5e591ba1 /testing/perl-class-c3-componentised/APKBUILD
parent03df114faf08214114c2f6fb73f2462a678094db (diff)
downloadaports-360e2e8b16b78eee92d5099895cee800ca660e45.tar.bz2
aports-360e2e8b16b78eee92d5099895cee800ca660e45.tar.xz
testing/perl-class-c3-componentised: fix url fix license
Diffstat (limited to 'testing/perl-class-c3-componentised/APKBUILD')
-rw-r--r--testing/perl-class-c3-componentised/APKBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/testing/perl-class-c3-componentised/APKBUILD b/testing/perl-class-c3-componentised/APKBUILD
index daaefdccbb..ece655c398 100644
--- a/testing/perl-class-c3-componentised/APKBUILD
+++ b/testing/perl-class-c3-componentised/APKBUILD
@@ -4,43 +4,36 @@
pkgname=perl-class-c3-componentised
_pkgreal=Class-C3-Componentised
pkgver=1.001000
-pkgrel=0
-pkgdesc="unknown"
+pkgrel=1
+pkgdesc="Load mix-ins or components to your C3-based class"
url="http://search.cpan.org/dist/Class-C3-Componentised/"
arch="noarch"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-class-c3 perl-class-inspector perl-mro-compat perl-test-exception"
-cpanmakedepends=""
-cpancheckdepends=""
depends="$cpandepends"
-makedepends="perl-dev perl-module-install $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+makedepends="perl-dev perl-module-install"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/F/FR/FREW/$_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
}