description="Minimal try/catch with proper localization of $@"
url="http://search.cpan.org/dist/Try-Tiny/"

packager="Grat-OS Team"

makedepends=(perl)
run=( perl )

name=perl-try-tiny
version=0.32

source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Try-Tiny-$version.tar.gz)

build() {
cd Try-Tiny-$version

perl Makefile.PL INSTALLDIRS=vendor

make
make DESTDIR=$PKG install

find $PKG \
        -name '*.bs' -or \
        -name .packlist -or \
        -name perllocal.pod | xargs rm
}
