summaryrefslogblamecommitdiff
path: root/user/perl-sub-identify/APKBUILD
blob: 8f8de9d5976489debca22027b6616dfb2b048e41 (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               





                                                
              

                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-sub-identify
_pkgreal=Sub-Identify
_author=RGARCIA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.14
pkgrel=0
pkgdesc="Retrieve names of Perl code references"
url="https://metacpan.org/release/Sub-Identify"
arch="all"
license="Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
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="f69f542c84c5c3ca1f1c7f5f58fd2cf19279a65229f43117c31f24ab0e49d5f329bef2bc00f22252fd2e52b4e17f16b279dac438920668e046e59f2e22e52c14  Sub-Identify-0.14.tar.gz"