archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-return-multilevel / trunk / PKGBUILD
blob31948aabeb05be9c51090b8249b4076bca1ff96a
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-return-multilevel
4 pkgver=0.08
5 pkgrel=3
6 pkgdesc="Return across multiple call levels"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Return-MultiLevel"
10 depends=('perl-data-munge')
11 checkdepends=('perl-test-fatal')
12 options=('!emptydirs')
13 source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Return-MultiLevel-$pkgver.tar.gz")
14 sha512sums=('1ea0da034df794c87b8a2225863194e0ac4c42794bfc59bbbd7e65d755ab2a66d341ea82f99b714220536d980a039b2eab65293180205b4b1ec0f4d56bbfd0d8')
16 build() {
17   cd Return-MultiLevel-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd Return-MultiLevel-$pkgver
24   make test
27 package() {
28   cd Return-MultiLevel-$pkgver
29   make DESTDIR="$pkgdir" install