diff options
Diffstat (limited to 'user/perl-class-inspector/APKBUILD')
-rw-r--r-- | user/perl-class-inspector/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-class-inspector/APKBUILD b/user/perl-class-inspector/APKBUILD new file mode 100644 index 000000000..64423c44a --- /dev/null +++ b/user/perl-class-inspector/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-class-inspector +_pkgname=Class-Inspector +pkgver=1.32 +pkgrel=0 +pkgdesc="Inspect Perl classes and structures" +url="https://metacpan.org/release/Class-Inspector" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Class-Inspector-$pkgver.tar.gz" +builddir="$srcdir/Class-Inspector-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="980654614d968e2fb61df864322f5c5248e352f0697a425539600c3549505f47b857d7856bc9d406ebc8757f8fc379a669f1f5085412f6fa48672c9db8a82df4 Class-Inspector-1.32.tar.gz" |