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



                                
            



                                                          
                                       
                                                     
                                                                      
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-getopt-long-descriptive
_pkgreal=Getopt-Long-Descriptive
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.110
pkgrel=0
pkgdesc="Simpler Perl implementation of Getopt::Long"
url="https://metacpan.org/release/Getopt-Long-Descriptive"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
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="2b04427f81367ed650e722253e995899bd7e02475186a919c42b868f429040dfe3cd7df9a107f838f2afa4b97cd30993befc69801f18a5006526a25a32b0f1a7  Getopt-Long-Descriptive-0.110.tar.gz"