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

                                                                   



                               
           

                                                                       
                                           

                           
              

                                            

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                   
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-indirect
_pkgreal=indirect
_author=VPIT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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="perl"
makedepends="perl-dev perl-extutils-depends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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"