aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-28 00:54:23 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-28 00:54:23 -0300
commit1339a1a6afca0fbda6de0b6971a36a724416567a (patch)
tree241370a85cdd81e035b47561c92a0655763e0a5d /testing
parent13d4f1e02ad3dafe2cd38f33259077c4939185c8 (diff)
downloadaports-1339a1a6afca0fbda6de0b6971a36a724416567a.tar.gz
aports-1339a1a6afca0fbda6de0b6971a36a724416567a.tar.bz2
aports-1339a1a6afca0fbda6de0b6971a36a724416567a.tar.xz
testing/perl-dbix-class-candy: fix url fix license
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-dbix-class-candy/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/testing/perl-dbix-class-candy/APKBUILD b/testing/perl-dbix-class-candy/APKBUILD
index 62fdc0b98e..0a8ff35239 100644
--- a/testing/perl-dbix-class-candy/APKBUILD
+++ b/testing/perl-dbix-class-candy/APKBUILD
@@ -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
}