projects/aports·commit 36283ef4

testing/perl-task-catalyst: new aport

36283ef4 · Wen Heping <[email protected]> · 2025-06-15 03:19:39 +00:00

Commit
36283ef47f86e4e0fc9ee2a94657bebc3101e4d7
Parents
ba813369

Changes

1 files changed · +50 −0

FileStatusAddDelContent
testing/perl-task-catalyst/APKBUILDadded+50−0View file

testing/perl-task-catalyst/APKBUILD

View file
diff --git a/testing/perl-task-catalyst/APKBUILD b/testing/perl-task-catalyst/APKBUILD
new file mode 100644
index 0000000..524db9a
--- /dev/null
+++ b/testing/perl-task-catalyst/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Wen Heping <[email protected]>
+# Maintainer: Wen Heping <[email protected]>
+pkgname=perl-task-catalyst
+pkgver=4.02
+pkgrel=0
+# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Task-Catalyst
+pkgdesc="All you need to start with Catalyst"
+url="https://metacpan.org/release/Task-Catalyst/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="
+ perl perl-catalyst-runtime perl-catalyst-action-rest perl-catalyst-actionrole-acl
+ perl-catalyst-authentication-credential-http perl-catalyst-authentication-store-dbix-class
+ perl-catalyst-component-instancepercontext perl-catalyst-controller-actionrole
+ perl-catalyst-devel perl-catalyst-manual perl-catalyst-model-adaptor
+ perl-catalyst-model-dbic-schema perl-catalyst-plugin-authentication
+ perl-catalyst-plugin-configloader perl-catalyst-plugin-i18n perl-catalyst-plugin-session
+ perl-catalyst-plugin-session-state-cookie perl-catalyst-plugin-session-store-dbic
+ perl-catalyst-plugin-session-store-file perl-catalyst-plugin-stacktrace
+ perl-catalyst-plugin-static-simple perl-catalyst-view-email perl-catalyst-view-tt
+ perl-catalystx-component-traits perl-catalystx-leakchecker perl-catalystx-profile
+ perl-catalystx-repl perl-catalystx-simplelogin perl-fcgi perl-fcgi-procmanager perl-starman
+ perl-test-www-mechanize-catalyst perl-local-lib
+ "
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/Task-Catalyst-$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 \
+ NO_PACKLIST=1 \
+ NO_PERLLOCAL=1
+ make
+}
+
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+5874d2dffdec143482549196f0bae20d3cc2bd2344ff69ee9f1daf5cd9145addf94dcbaad3ca353d7025cbdff2b59bc1c8095a3c74e98a030f6a1c8ea4f40f13 Task-Catalyst-4.02.tar.gz
+"