diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/perl-re-engine-re2/APKBUILD | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/perl-re-engine-re2/APKBUILD')
-rw-r--r-- | user/perl-re-engine-re2/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-re-engine-re2/APKBUILD b/user/perl-re-engine-re2/APKBUILD new file mode 100644 index 000000000..dcee65c4e --- /dev/null +++ b/user/perl-re-engine-re2/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-re-engine-re2 +_pkgreal=re-engine-RE2 +_author=DGL +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.13 +pkgrel=0 +pkgdesc="RE2-based regex engine for Perl" +url="https://metacpan.org/pod/re::engine::RE2" +arch="all" +options="!check" # broken tests, I'm shocked +license="(Artistic-2.0 OR GPL-2.0-only) 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="c0c04f9115b4d84786bbac7de461a2b133dcea3986f2586739d9aabc8c50b0bd66409118d9cc3397236a138c78779327844abe48d116b0b56d82e40311520cca re-engine-RE2-0.13.tar.gz" |