summaryrefslogblamecommitdiff
path: root/user/perl-syntax-keyword-match/APKBUILD
blob: e6c4db2138544e6cec35a8e7fa5a5a2b41c7b966 (plain) (tree)
1
2
3
4
5
6
7
8






                                                           
           





                                                     
                               


















                                                                                        
                                                                                                                                                                               
# 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"