From a835e44d8c894e29fb81c6d6581f47d6350d5217 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Thu, 5 May 2022 17:09:08 +0000 Subject: user/perl-syntax-keyword-match: new package --- user/perl-syntax-keyword-match/APKBUILD | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-syntax-keyword-match/APKBUILD (limited to 'user') diff --git a/user/perl-syntax-keyword-match/APKBUILD b/user/perl-syntax-keyword-match/APKBUILD new file mode 100644 index 000000000..24e7a3e91 --- /dev/null +++ b/user/perl-syntax-keyword-match/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +pkgname=perl-syntax-keyword-match +_pkgreal=Syntax-Keyword-Match +_author=PEVANS +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.09 +pkgrel=0 +pkgdesc="Perl support for match/case keywords" +url="https://metacpan.org/pod/Syntax::Keyword::Match" +arch="all" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +checkdepends="" +makedepends="perl-dev perl-module-build perl-xs-parse-keyword" +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="3373d671e4dfa8367b4f81f39e6f3642590d77f6ca2a80e98aff7aa9b5a08c8b392c4feee29f2d9adca292814de5673994dab967f25b4d43cddcbc356728197e Syntax-Keyword-Match-0.09.tar.gz" -- cgit v1.2.3-70-g09d2