summaryrefslogblamecommitdiff
path: root/user/perl-indirect/APKBUILD
blob: bd04fb62868c4e65522098337df62c201a6e21cf (plain) (tree)
1
2
3
4
5
6
7


                                                                   
           

                                                                       
                                           








                                                                               




                                                                 



                 



                                                                           
                                                                                                                                                                   
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-indirect
pkgver=0.39
pkgrel=0
pkgdesc="Perl module for lexically warning about indirect method calls"
url="https://metacpan.org/release/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() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="d3275a2cab2eeceef61756e08947d3072c0ce5cea2e8b70870c5fcbd9c63e56cf70568395002b7d02060cad3482f7f56723b1ad85fcf0a4c4ee2568b5035816c  indirect-0.39.tar.gz"