aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-class-dbi/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-05-01 14:01:29 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-01 14:01:29 +0000
commitbd556f99eeaf85a721a616af17c2c8e72ba04ae4 (patch)
treec85aa56557b13a7828ca8ddb3030871b9d767bc8 /community/perl-class-dbi/APKBUILD
parente3df82e588209e4b74f1abd1bce408f16e240238 (diff)
downloadaports-bd556f99eeaf85a721a616af17c2c8e72ba04ae4.tar.gz
aports-bd556f99eeaf85a721a616af17c2c8e72ba04ae4.tar.bz2
aports-bd556f99eeaf85a721a616af17c2c8e72ba04ae4.tar.xz
community/perl-class-dbi: fix pkgver, added check()
Diffstat (limited to 'community/perl-class-dbi/APKBUILD')
-rw-r--r--community/perl-class-dbi/APKBUILD17
1 files changed, 9 insertions, 8 deletions
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 <fcolista@alpinelinux.org>
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() {