mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
testing/perl-dbix-class-candy: fix url fix license
This commit is contained in:
parent
13d4f1e02a
commit
1339a1a6af
1 changed files with 6 additions and 10 deletions
|
@ -4,16 +4,16 @@
|
|||
pkgname=perl-dbix-class-candy
|
||||
_pkgreal=DBIx-Class-Candy
|
||||
pkgver=0.005003
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Sugar for your favorite ORM, DBIx::Class"
|
||||
url="http://search.cpan.org/dist/DBIx-Class-Candy/"
|
||||
url="https://metacpan.org/release/DBIx-Class-Candy"
|
||||
arch="noarch !armv7"
|
||||
license="GPL PerlArtistic"
|
||||
cpandepends="perl-sub-exporter perl-string-camelcase perl-mro-compat perl-namespace-clean perl-dbix-class perl-lingua-en-inflect"
|
||||
cpanmakedepends=""
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
cpandepends="perl-sub-exporter perl-string-camelcase perl-mro-compat
|
||||
perl-namespace-clean perl-dbix-class perl-lingua-en-inflect"
|
||||
cpancheckdepends="perl-test-deep perl-test-fatal"
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev $cpanmakedepends"
|
||||
makedepends="perl-dev"
|
||||
checkdepends="$cpancheckdepends"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://search.cpan.org/CPAN/authors/id/F/FR/FREW/$_pkgreal-$pkgver.tar.gz"
|
||||
|
@ -22,25 +22,21 @@ builddir="$srcdir/$_pkgreal-$pkgver"
|
|||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cd "$builddir"
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue