21 lines
520 B
Plaintext
21 lines
520 B
Plaintext
|
# Description: Minimal try/catch with proper localization of $@
|
||
|
# URL: https://cpan.metacpan.org/dist/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
|
||
|
}
|