blob: f2873520955332c513639da4227ee300632f4b17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-dbix-searchbuilder
_pkgreal=DBIx-SearchBuilder
pkgver=1.67
pkgrel=0
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 "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BP/BPS/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
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 && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
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"
|