archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-package-stash-xs / trunk / PKGBUILD
blob967cfb6a1296c41118c91faa8dde90c607b10e6d
1 # Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
2 # Contributor: Justin Davis <jrcd83@gmail.com>
4 pkgname=perl-package-stash-xs
5 pkgver=0.30
6 pkgrel=1
7 pkgdesc="Faster and more correct implementation of the Package::Stash API"
8 arch=('x86_64')
9 url="https://search.cpan.org/dist/Package-Stash-XS"
10 license=('PerlArtistic' 'GPL')
11 depends=('perl')
12 checkdepends=('perl-test-fatal' 'perl-test-needs')
13 options=('!emptydirs')
14 source=(https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Package-Stash-XS-$pkgver.tar.gz)
15 sha512sums=('528faaefa71c5c37d378a9bedf325babf3b2717024995d166fc77bb1fb1ce1aed11da775608029a1c215c903dcd7ac9f68569cd8fd3690681ccd72b47c51b0a3')
17 build() {
18   cd Package-Stash-XS-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd Package-Stash-XS-$pkgver
25   make test
28 package() {
29   cd Package-Stash-XS-$pkgver
30   make DESTDIR="$pkgdir" install