diff options
Diffstat (limited to 'user/perl-syntax-keyword-match/APKBUILD')
-rw-r--r-- | user/perl-syntax-keyword-match/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-syntax-keyword-match/APKBUILD b/user/perl-syntax-keyword-match/APKBUILD new file mode 100644 index 000000000..e6c4db213 --- /dev/null +++ b/user/perl-syntax-keyword-match/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-syntax-keyword-match +_pkgreal=Syntax-Keyword-Match +_author=PEVANS +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.13 +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="perl-test2-suite" +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="472a0b25b8f19a09f0a7d51963bb76382a6273e505b4141148353f0375610e77d2d458fc7cf6e1cb02aa127f252f882559b186bc35b441af5fa1dad7e3aa4e25 Syntax-Keyword-Match-0.13.tar.gz" |