summaryrefslogtreecommitdiff
path: root/user/perl-carp-clan
diff options
context:
space:
mode:
authorAlyx Wolcott <alyx@malkier.net>2019-07-04 18:53:05 -0500
committerAlyx Wolcott <alyx@malkier.net>2019-07-04 18:53:05 -0500
commit47891a1dd60e39586417f4f2e6f0fb7dbec99584 (patch)
tree6417b056ade426dd78beb2cc004bd98d49f18ba2 /user/perl-carp-clan
parent171f16f903cf8b34b7b9bd594f62cd5020cbc022 (diff)
downloadpackages-47891a1dd60e39586417f4f2e6f0fb7dbec99584.tar.gz
packages-47891a1dd60e39586417f4f2e6f0fb7dbec99584.tar.bz2
packages-47891a1dd60e39586417f4f2e6f0fb7dbec99584.tar.xz
packages-47891a1dd60e39586417f4f2e6f0fb7dbec99584.zip
user/perl-carp-clan: new package
Diffstat (limited to 'user/perl-carp-clan')
-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"