mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/perl-catalyst-model-dbic-schema: new aport
This commit is contained in:
parent
91211c9160
commit
e72316fc28
1 changed files with 45 additions and 0 deletions
45
testing/perl-catalyst-model-dbic-schema/APKBUILD
Normal file
45
testing/perl-catalyst-model-dbic-schema/APKBUILD
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||||
|
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||||
|
pkgname=perl-catalyst-model-dbic-schema
|
||||||
|
pkgver=0.66
|
||||||
|
pkgrel=0
|
||||||
|
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Catalyst-Model-DBIC-Schema
|
||||||
|
pkgdesc="DBIx::Class::Schema Model Class"
|
||||||
|
url="https://metacpan.org/release/Catalyst-Model-DBIC-Schema/"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
|
depends="
|
||||||
|
perl perl-carp-clan perl-catalyst-component-instancepercontext perl-catalyst-devel
|
||||||
|
perl-catalyst-runtime perl-catalystx-component-traits perl-dbix-class
|
||||||
|
perl-dbix-class-cursor-cached perl-dbix-class-schema-loader perl-hash-merge
|
||||||
|
perl-list-moreutils perl-module-runtime perl-moose perl-moosex-markasmethods
|
||||||
|
perl-moosex-nonmoose perl-moosex-types perl-moosex-types-loadableclass perl-tie-ixhash
|
||||||
|
perl-try-tiny perl-namespace-autoclean perl-namespace-clean
|
||||||
|
"
|
||||||
|
makedepends="perl-dbd-sqlite perl-test-exception perl-test-requires"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Catalyst-Model-DBIC-Schema-$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="
|
||||||
|
bc85b92f30f6931430f6311c5ff0d26432774abca36d856ebe5279b4ac1827a654664ebe0bf2319ffe858ba4e8923737fafeb7429d05f6b8afdde3e9a40a86b2 Catalyst-Model-DBIC-Schema-0.66.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue