1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00

testing/perl-catalyst-authentication-store-dbix-class: new aport

This commit is contained in:
Wen Heping 2025-06-11 12:29:05 +00:00 committed by Celeste
parent e72316fc28
commit cb7b1c65dd

View file

@ -0,0 +1,41 @@
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
pkgname=perl-catalyst-authentication-store-dbix-class
pkgver=0.1506
pkgrel=0
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Catalyst-Authentication-Store-DBIx-Class
pkgdesc="A storage class for Catalyst Authentication using DBIx::Class"
url="https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl perl-catalyst-model-dbic-schema perl-catalyst-plugin-authentication
perl-catalyst-runtime perl-class-accessor perl-dbix-class perl-list-moreutils
perl-moose perl-try-tiny perl-namespace-autoclean
"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/I/IL/ILMARI/Catalyst-Authentication-Store-DBIx-Class-$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="
1d73a881934c8cea29bcbb09de1449d74c2b3b8b9cf2204ad82d602e086651b4702f6203248bdcb9f528b9e43aa0514b98e0c0d86f3d5742f818d1ea8682b4f3 Catalyst-Authentication-Store-DBIx-Class-0.1506.tar.gz
"