From bd556f99eeaf85a721a616af17c2c8e72ba04ae4 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 1 May 2019 14:01:29 +0000 Subject: community/perl-class-dbi: fix pkgver, added check() --- community/perl-class-dbi/APKBUILD | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'community/perl-class-dbi') diff --git a/community/perl-class-dbi/APKBUILD b/community/perl-class-dbi/APKBUILD index cab639dca9..79922e86c6 100644 --- a/community/perl-class-dbi/APKBUILD +++ b/community/perl-class-dbi/APKBUILD @@ -3,20 +3,21 @@ # Maintainer: Francesco Colista pkgname=perl-class-dbi _pkgreal=Class-DBI -pkgver=v3.0.17 -pkgrel=1 +pkgver=3.0.17 +pkgrel=2 pkgdesc="Simple Database Abstraction" url="http://search.cpan.org/dist/Class-DBI/" arch="noarch" license="GPL PerlArtistic" -cpandepends="perl-universal-moniker perl-ima-dbi perl-clone perl-class-data-inheritable perl-class-accessor perl-class-trigger" +cpandepends="perl-universal-moniker perl-ima-dbi perl-clone +perl-class-data-inheritable perl-class-accessor perl-class-trigger" cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" +checkdepends="perl-dbd-pg perl-dbd-sqlite perl-date-simple perl-test-pod" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/$_pkgreal-$pkgver.tar.gz" - -builddir="$srcdir/$_pkgreal-$pkgver" +source="http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/$_pkgreal-v$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-v$pkgver" prepare() { default_prepare @@ -31,8 +32,8 @@ build() { } check() { - cd "$builddir" - make test + cd "$builddir" + make test } package() { -- cgit v1.2.3