archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-package-stash / trunk / PKGBUILD
blob4c3cf33fafa9cf142d43a8ed8a4f2b1b0b9092db
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Jonathan Steel <jsteel@aur.archlinux.org>
3 # Contributor: Justin Davis <jrcd83@gmail.com>
5 pkgname=perl-package-stash
6 pkgver=0.40
7 pkgrel=2
8 pkgdesc="Routines for manipulating stashes"
9 arch=('any')
10 url="https://search.cpan.org/dist/Package-Stash"
11 license=('PerlArtistic' 'GPL')
12 depends=('perl-dist-checkconflicts' 'perl-package-stash-xs' 'perl-module-implementation')
13 checkdepends=('perl-cpan-meta-check' 'perl-test-fatal' 'perl-test-needs')
14 options=('!emptydirs')
15 source=(https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Package-Stash-$pkgver.tar.gz)
16 sha512sums=('1a1e358c8409ba0bcc2fee9b3cc86b6cd42297c9bd0641a57872bec498567ee18075ad71f7e79bb9b3a789cb47ebbf852163886f8babaf3aa23e7ff9eb2e7080')
18 build() {
19   cd Package-Stash-$pkgver
20   perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd Package-Stash-$pkgver
26   make test
29 package() {
30   cd Package-Stash-$pkgver
31   make DESTDIR="$pkgdir" install