summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 10:25:31 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 10:25:31 -0500
commit119e13460625d4e0a9942c68590d2ecf7a71bc60 (patch)
tree01107cbd827349c6c7669abc7edd377e11df7767 /user
parentfa02d755e45101e733b572190075e42132a431b4 (diff)
downloadpackages-119e13460625d4e0a9942c68590d2ecf7a71bc60.tar.gz
packages-119e13460625d4e0a9942c68590d2ecf7a71bc60.tar.bz2
packages-119e13460625d4e0a9942c68590d2ecf7a71bc60.tar.xz
packages-119e13460625d4e0a9942c68590d2ecf7a71bc60.zip
user/perl-indirect: new package
Diffstat (limited to 'user')
-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"