From 119e13460625d4e0a9942c68590d2ecf7a71bc60 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 26 Apr 2019 10:25:31 -0500 Subject: user/perl-indirect: new package --- user/perl-indirect/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-indirect/APKBUILD (limited to 'user/perl-indirect/APKBUILD') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2