21 lines
515 B
Plaintext
21 lines
515 B
Plaintext
# Description: Minimal try/catch with proper localization of $@
|
|
# URL: https://metacpan.org/pod/Try::Tiny
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on:
|
|
|
|
name=p5-try-tiny
|
|
version=0.32
|
|
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
|
|
}
|