perl-Try-Tiny: add optional checkdepends and add missing license.

Closes #9416.
This commit is contained in:
maxice8 2017-11-21 10:34:21 -02:00 committed by Enno Boland
parent 91bbca219a
commit 6302a4576e

View file

@ -6,6 +6,7 @@ wrksrc="Try-Tiny-$version"
build_style=perl-module
hostmakedepends="perl"
makedepends="perl"
checkdepends="perl-Capture-Tiny perl-CPAN-Meta-Check"
depends="perl"
short_desc='Try::Tiny - Minimal try/catch with proper preservation of $@'
maintainer="Leah Neukirchen <leah@vuxu.org>"
@ -14,3 +15,7 @@ license="MIT"
distfiles="${CPAN_SITE}/XML/ETHER/Try-Tiny-${version}.tar.gz"
checksum=f1d166be8aa19942c4504c9111dade7aacb981bc5b3a2a5c5f6019646db8c146
noarch=yes
post_install() {
vlicense LICENCE LICENSE
}