summaryrefslogtreecommitdiff
path: root/user/perl-xs-parse-keyword/APKBUILD
blob: 8d242277fa7269216948fe1b58c1d7effdf99fb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-xs-parse-keyword
_pkgreal=XS-Parse-Keyword
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.38
pkgrel=0
pkgdesc="XS functions to aid in parsing keywords"
url="https://metacpan.org/pod/XS::Parse::Keyword"
arch="all"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
checkdepends="perl-test2-suite"
makedepends="perl-dev perl-extutils-cchecker perl-module-build"
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="2b7dfade590c00095681a55ff937e3d9de1f939e0ea9fec6ae5cd06e618c2dacdc226f94047d41e6d95725dbf722feb3f2c8794a9a6950bfe12fc53bdbb823fa  XS-Parse-Keyword-0.38.tar.gz"