summaryrefslogtreecommitdiff
path: root/user/perl-class-inspector/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 22:43:45 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 22:43:45 +0000
commitc1748fbfd0c16175a0d55b629b560bc7d283fa62 (patch)
treedd28f2d9f233b04794f4e95a1e152c236a091c57 /user/perl-class-inspector/APKBUILD
parent56b922f74c1bce2317e076bc73974ef669015499 (diff)
downloadpackages-c1748fbfd0c16175a0d55b629b560bc7d283fa62.tar.gz
packages-c1748fbfd0c16175a0d55b629b560bc7d283fa62.tar.bz2
packages-c1748fbfd0c16175a0d55b629b560bc7d283fa62.tar.xz
packages-c1748fbfd0c16175a0d55b629b560bc7d283fa62.zip
user/perl-class-inspector: new package
Diffstat (limited to 'user/perl-class-inspector/APKBUILD')
-rw-r--r--user/perl-class-inspector/APKBUILD34
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"