summaryrefslogblamecommitdiff
path: root/user/perl-data-optlist/APKBUILD
blob: 797cd8bf3c9890bab53dad2755f73626357ddfaa (plain) (tree)
1
2
3
4
5
6
7
                                                          

                         


                               
            







                                                           
                                                                                        


                                    




                                                                 



                 



                                                                           
                                                                                                                                                                        
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-data-optlist
_pkgreal=Data-OptList
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.113
pkgrel=0
pkgdesc="Parse and validate simple name/value option pairs"
url="https://metacpan.org/release/Data-OptList"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl perl-params-util perl-sub-install"
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="8c3a27218cf1a1fc9515be63586ea782c299cd193ab5003885a051a28d0d9c1e8d7ce6e4ddaffcdb37f1d2fa28363b4248a45f964b2429cea712253549ae2da2  Data-OptList-0.113.tar.gz"