contrib/p5-try-tiny/Pkgfile

21 lines
515 B
Plaintext
Raw Normal View History

# Description: Minimal try/catch with proper localization of $@
2020-06-01 17:45:48 +02:00
# URL: https://metacpan.org/pod/Try::Tiny
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:
name=p5-try-tiny
version=0.30
release=1
source=(https://cpan.metacpan.org/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 .packlist -o \
-name perllocal.pod -o \
-name README -o \
-name '*.bs' | xargs rm
}