From 6302a4576efd938b9e214202fdddc12a85605061 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 21 Nov 2017 10:34:21 -0200 Subject: [PATCH] perl-Try-Tiny: add optional checkdepends and add missing license. Closes #9416. --- srcpkgs/perl-Try-Tiny/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/perl-Try-Tiny/template b/srcpkgs/perl-Try-Tiny/template index dac5a2421a..ec9f09c2c0 100644 --- a/srcpkgs/perl-Try-Tiny/template +++ b/srcpkgs/perl-Try-Tiny/template @@ -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 " @@ -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 +}