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
1 changed files with 5 additions and 0 deletions

View File

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