diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-04 20:27:23 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:58 -0500 |
commit | ed9d3a2267eb7389763caacaf27b0bed9c56bf88 (patch) | |
tree | 2904e51adf5991d49a9c1df522a30794d8a2fb9e | |
parent | 1295ab869723f2f095407d9c667e90dc37289be1 (diff) | |
download | packages-ed9d3a2267eb7389763caacaf27b0bed9c56bf88.tar.gz packages-ed9d3a2267eb7389763caacaf27b0bed9c56bf88.tar.bz2 packages-ed9d3a2267eb7389763caacaf27b0bed9c56bf88.tar.xz packages-ed9d3a2267eb7389763caacaf27b0bed9c56bf88.zip |
user/perl-xs-parse-sublike: new package
-rw-r--r-- | user/perl-xs-parse-sublike/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-xs-parse-sublike/APKBUILD b/user/perl-xs-parse-sublike/APKBUILD new file mode 100644 index 000000000..53883465c --- /dev/null +++ b/user/perl-xs-parse-sublike/APKBUILD @@ -0,0 +1,35 @@ +# 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.16 +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" +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="66615f291b498e132fc3513a18ae7723ad19e7daa5ff1e455d467235d7078d9d546281af38f5aa55a757b1cc8835fbf1e52944f0e580e7f135a574d625ef6613 XS-Parse-Sublike-0.16.tar.gz" |