aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrubicon <5662-rubicon@users.gitlab.alpinelinux.org>2022-05-27 21:25:07 +0800
committeralice <alice@ayaya.dev>2022-05-27 16:12:41 +0000
commitff7d39c04524d1945e91bb19ab17a63d4a2165fb (patch)
tree435d0c963633f4caa710c43dcba2b8e4689f69a0
parent0b9bc8c66afafeecb9048285b331a92baa36a6f0 (diff)
downloadaports-ff7d39c04524d1945e91bb19ab17a63d4a2165fb.tar.gz
aports-ff7d39c04524d1945e91bb19ab17a63d4a2165fb.tar.bz2
aports-ff7d39c04524d1945e91bb19ab17a63d4a2165fb.tar.xz
testing/perl-reply: new aport
-rw-r--r--testing/perl-reply/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/perl-reply/APKBUILD b/testing/perl-reply/APKBUILD
new file mode 100644
index 0000000000..dc942a2cd1
--- /dev/null
+++ b/testing/perl-reply/APKBUILD
@@ -0,0 +1,51 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: rubicon <rubicon@mailo.com>
+# Maintainer: rubicon <rubicon@mailo.com>
+pkgname=perl-reply
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Reply
+pkgver=0.42
+pkgrel=0
+pkgdesc="REPL (read, eval, print, loop) for Perl"
+url="https://metacpan.org/release/Reply/"
+arch="noarch"
+license="MIT"
+depends="
+ perl
+ perl-devel-lexalias
+ perl-try-tiny
+ perl-module-runtime
+ perl-file-homedir
+ perl-eval-closure
+ perl-package-stash
+ perl-padwalker
+ perl-term-readline-gnu
+ perl-config-ini-reader-ordered
+ perl-data-dump
+ perl-data-printer
+ perl-term-readkey
+ "
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DO/DOY/Reply-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="
+d60a584b3cf676be97bbe199d965a488d6a869b1f6cd55d6b405da3f9c717cf63b4380408a72e6f1e06d3d32a90aa5633889a907d94da147e35804b9d0387662 Reply-0.42.tar.gz
+"