archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-b-keywords / trunk / PKGBUILD
blob99435af5cd01570bc34c4b5d5cc1ef3f31fd3ed4
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-b-keywords
4 pkgver=1.24
5 pkgrel=2
6 pkgdesc="Lists of reserved barewords and symbol names"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/B-Keywords"
10 depends=('perl')
11 checkdepends=('perl-test-pod')
12 options=('!emptydirs')
13 source=("https://cpan.metacpan.org/authors/id/R/RU/RURBAN/B-Keywords-$pkgver.tar.gz")
14 sha512sums=('b48290ffa0fc2f843930c0dc5227c0cce5552c5e112d2c63307b7557323387207a70cb30d7bc5e00db6e1ad4c8055b40e80c158e449a4fda9f4471cbc07ca8f7')
16 build() {
17   cd B-Keywords-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd B-Keywords-$pkgver
24   make test
27 package() {
28   cd B-Keywords-$pkgver
29   make DESTDIR="$pkgdir" install