diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-05 17:09:08 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:41 +0000 |
commit | e62493f926f0963268353a7a9a7dc450f0256930 (patch) | |
tree | 0641bfec6111bab3c8dfd1e2a5cfb19f175785a2 /user/perl-syntax-keyword-match/APKBUILD | |
parent | 841c8d49af52213a1c8828735da228262b4a986a (diff) | |
download | packages-e62493f926f0963268353a7a9a7dc450f0256930.tar.gz packages-e62493f926f0963268353a7a9a7dc450f0256930.tar.bz2 packages-e62493f926f0963268353a7a9a7dc450f0256930.tar.xz packages-e62493f926f0963268353a7a9a7dc450f0256930.zip |
user/perl-syntax-keyword-match: new package
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" |