aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/perl-dbix-searchbuilder/APKBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/main/perl-dbix-searchbuilder/APKBUILD b/main/perl-dbix-searchbuilder/APKBUILD
index f287352095..7b45de41f5 100644
--- a/main/perl-dbix-searchbuilder/APKBUILD
+++ b/main/perl-dbix-searchbuilder/APKBUILD
@@ -4,38 +4,41 @@
pkgname=perl-dbix-searchbuilder
_pkgreal=DBIx-SearchBuilder
pkgver=1.67
-pkgrel=0
+pkgrel=1
pkgdesc="Encapsulate SQL queries and rows in simple perl objects"
url="http://search.cpan.org/dist/DBIx-SearchBuilder/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-class-returnvalue perl-dbi perl-cache-simple-timedexpiry perl-class-accessor perl-clone perl-want perl-dbix-dbschema"
-cpanmakedepends="perl-dbd-sqlite "
+cpanmakedepends="perl-dbd-sqlite"
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev $cpanmakedepends perl-module-install"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BP/BPS/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- make && make test
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="fb98b60569995a4d623e07df2e42646e DBIx-SearchBuilder-1.67.tar.gz"
-sha256sums="453179c22a61af573e502c8396f3f28daea03dfdc162094b90f9b3c331d563da DBIx-SearchBuilder-1.67.tar.gz"
sha512sums="8cade12f01da749356a3c1b167f46e0377934e01832548baebfa629e71c3199ce473a63077ee5ac5ed58f805f7cb883bd8d0886d2ecf27f4740eafbb30f91bae DBIx-SearchBuilder-1.67.tar.gz"