blob: 56a8a7b7dc5e3f31befc6060093ff1968ab19996 (
plain) (
tree)
|
|
# 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.114
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="72f60ad7d9a6d87ffecfbc0f6f6d48dad2816dd4431d7e82e8ab834e0852da27420fd52fb2a1138254d80bf8b98b94b9fa25b878e1bb155221543a78219ee16a Data-OptList-0.114.tar.gz"
|