blob: 2544397ef2dcd1f650c79c71d82553599200a2b5 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-re-engine-re2
_pkgreal=re-engine-RE2
_author=DGL
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.18
pkgrel=0
pkgdesc="RE2-based regex engine for Perl"
url="https://metacpan.org/pod/re::engine::RE2"
arch="all"
license="(Artistic-1.0 OR GPL-1.0+) AND BSD-3-Clause"
depends="perl"
makedepends="perl-dev perl-extutils-cppguess"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/re-engine-RE2-$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="3ecfd9cfc68703e23ba96dfb4b9e61afd8eb2f098c3c089b170efe30015425d891cc353362e7c56418e6e36d25e6dcaad96f52f659310458d696351bb0c77f74 re-engine-RE2-0.18.tar.gz"
|