diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 04:32:35 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 04:32:35 -0500 |
commit | 34a3bcd992f286fa8be002f050692b56e503716c (patch) | |
tree | dd152408542cf415370010223d8dcc5ab8dede86 /system/perl-try-tiny/APKBUILD | |
parent | be9dce9859a1f1b0b85e4685cbddf5aa48b61aa7 (diff) | |
download | packages-34a3bcd992f286fa8be002f050692b56e503716c.tar.gz packages-34a3bcd992f286fa8be002f050692b56e503716c.tar.bz2 packages-34a3bcd992f286fa8be002f050692b56e503716c.tar.xz packages-34a3bcd992f286fa8be002f050692b56e503716c.zip |
system/perl-try-tiny: add for lwp
Diffstat (limited to 'system/perl-try-tiny/APKBUILD')
-rw-r--r-- | system/perl-try-tiny/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/system/perl-try-tiny/APKBUILD b/system/perl-try-tiny/APKBUILD new file mode 100644 index 000000000..fb93a3117 --- /dev/null +++ b/system/perl-try-tiny/APKBUILD @@ -0,0 +1,42 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-try-tiny +_pkgreal=Try-Tiny +pkgver=0.30 +pkgrel=0 +pkgdesc="Minimal Perl try/catch with proper environment preservation" +url="http://search.cpan.org/dist/Try-Tiny/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="f523736ab0504ca0f7150be312e62988c4b9473a9e8469b0746dc8364945e2922c64c92e95e6c2b5792c5d6399dabea3d00aa45c065155b95519d5658a07216c Try-Tiny-0.30.tar.gz" |