aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-dbicx-sugar
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-dbicx-sugar')
-rw-r--r--testing/perl-dbicx-sugar/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/testing/perl-dbicx-sugar/APKBUILD b/testing/perl-dbicx-sugar/APKBUILD
index d711ab3881..6a0f8f08b0 100644
--- a/testing/perl-dbicx-sugar/APKBUILD
+++ b/testing/perl-dbicx-sugar/APKBUILD
@@ -4,16 +4,15 @@
pkgname=perl-dbicx-sugar
_pkgreal=DBICx-Sugar
pkgver=0.0200
-pkgrel=0
+pkgrel=1
pkgdesc="Just some syntax sugar for DBIx::Class"
-url="http://search.cpan.org/dist/DBICx-Sugar/"
+url="https://metacpan.org/release/DBICx-Sugar"
arch="noarch !armv7" # tests fails on armv7
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-sql-translator perl-dbix-class"
-cpanmakedepends=""
-cpancheckdepends="perl-dbi perl-dbix-class perl-test-modern perl-test-requires"
+cpancheckdepends="perl-dbi perl-test-modern perl-test-requires"
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends perl-dbd-sqlite"
+makedepends="perl-dev perl-dbd-sqlite"
checkdepends="$cpancheckdepends perl-moose"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/I/IR/IRONCAMEL/$_pkgreal-$pkgver.tar.gz"
@@ -22,25 +21,21 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. 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
}