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..24e7a3e91 --- /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.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" |