summaryrefslogblamecommitdiff
path: root/user/perl-getopt-long-descriptive/APKBUILD
blob: affb9612ae63426be70e032c5364e94389748388 (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                                
            




                                                          
                                                     
                                                                      
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-getopt-long-descriptive
_pkgreal=Getopt-Long-Descriptive
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.105
pkgrel=0
pkgdesc="Simpler Perl implementation of Getopt::Long"
url="https://metacpan.org/release/Getopt-Long-Descriptive"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl perl-params-validate perl-sub-exporter"
checkdepends="perl-cpan-meta-check perl-test-fatal perl-test-warnings"
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="e7528ac509bc7fb49ee59a8ed8dec0c9a619a8f34c207e7a9185829666248797211a56576721b7fc8cdd44ae55d2d45f048958b79a6228ee76d91c3a52685236  Getopt-Long-Descriptive-0.105.tar.gz"