summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/perl-carp-clan/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/perl-carp-clan/APKBUILD b/user/perl-carp-clan/APKBUILD
new file mode 100644
index 000000000..619aec72e
--- /dev/null
+++ b/user/perl-carp-clan/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Alyx Wolcott <alyx@leuhta.com>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-carp-clan
+pkgver=6.07
+pkgrel=0
+pkgdesc="Report modules as a 'clan' in Perl"
+url="https://metacpan.org/pod/Carp::Clan"
+arch="noarch"
+license="Artistic-1.0-Perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Carp-Clan-$pkgver.tar.gz"
+builddir="$srcdir/Carp-Clan-$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="0180c2bd2ffe9f2b6c23d7e76bf3dd8ceeacfc842b09c2dab2f81d002ff7235ce2d145e53c55e375cb889291577cfcd4cb9be34b5445ae532cb9768979c57e41 Carp-Clan-6.07.tar.gz"