summaryrefslogtreecommitdiff
path: root/user/perl-indirect
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-indirect')
-rw-r--r--user/perl-indirect/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-indirect/APKBUILD b/user/perl-indirect/APKBUILD
new file mode 100644
index 000000000..54e814d1e
--- /dev/null
+++ b/user/perl-indirect/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-indirect
+pkgver=0.38
+pkgrel=0
+pkgdesc="Perl module for lexically warning about indirect method calls"
+url="https://metacpan.org/pod/indirect"
+arch="all"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev perl-extutils-depends"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/V/VP/VPIT/indirect-$pkgver.tar.gz"
+builddir="$srcdir/indirect-$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="1ae363d2b2961be8495168a870bf941953a7845b0f3e9c7e9b267affc0b0392e1747ca4edd484ac98ddeef70b1a1cf28672bf1b9289847cb193409914e2f4673 indirect-0.38.tar.gz"