blob: 223f04887424713a2c994f8c8ec700ceddfd7a62 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-xs-parse-sublike
_pkgreal=XS-Parse-Sublike
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.20
pkgrel=0
pkgdesc="XS functions to aid in parsing sub-like syntax"
url="https://metacpan.org/pod/XS::Parse::Sublike"
arch="all"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
checkdepends="perl-test-fatal perl-test2-suite"
makedepends="perl-dev perl-extutils-cchecker perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
./Build
}
check() {
./Build test
}
package() {
./Build install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="b579cabb8ae6c0bda960463558b5839fa2a259b938c543e4418021f603e0510e8c2c36ff453790246396d9c3c9c612741c6ed63630c5bedbf5b3ff32f0643b68 XS-Parse-Sublike-0.20.tar.gz"
|