1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/perl-catalyst-plugin-session-store-delegate: new aport

This commit is contained in:
Wen Heping 2025-06-13 10:44:17 +00:00 committed by Celeste
parent e40419906c
commit e50c99a9ae

View file

@ -0,0 +1,40 @@
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
pkgname=perl-catalyst-plugin-session-store-delegate
pkgver=0.06
pkgrel=0
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Catalyst-Plugin-Session-Store-Delegate
pkgdesc="Delegate session storage to an"
url="https://metacpan.org/release/Catalyst-Plugin-Session-Store-Delegate/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl perl-catalyst-plugin-session perl-class-accessor perl-mro-compat perl-moose
perl-moosex-emulate-class-accessor-fast perl-namespace-clean
"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Session-Store-Delegate-$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="
915d632600149da20e6d976c4104567e6fc3edbc9d64675e1d1fbb13b00f0bda4cdbd161ffb3e349ccc4fc130d5c72345a512afb8f8fdfe1694c7646741ff382 Catalyst-Plugin-Session-Store-Delegate-0.06.tar.gz
"