aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-dbix-searchbuilder
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-23 15:22:16 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:11:10 +0000
commitf021a5d7fd2d1af63cc5cd44ffcef33fd759e31d (patch)
treeeba366a2c4a8ca133e82f821b203c3f7ec457c90 /main/perl-dbix-searchbuilder
parentd3f705ae488a6e74fcf2e5b5fbfbd8d82b8cb463 (diff)
downloadaports-f021a5d7fd2d1af63cc5cd44ffcef33fd759e31d.tar.bz2
aports-f021a5d7fd2d1af63cc5cd44ffcef33fd759e31d.tar.xz
main/perl-dbix-searchbuilder: new aport
Diffstat (limited to 'main/perl-dbix-searchbuilder')
-rw-r--r--main/perl-dbix-searchbuilder/APKBUILD41
1 files changed, 21 insertions, 20 deletions
diff --git a/main/perl-dbix-searchbuilder/APKBUILD b/main/perl-dbix-searchbuilder/APKBUILD
index c1577981a2..ab6d433bd3 100644
--- a/main/perl-dbix-searchbuilder/APKBUILD
+++ b/main/perl-dbix-searchbuilder/APKBUILD
@@ -1,34 +1,33 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-dbix-searchbuilder
-pkgver=1.59
+_pkgreal=DBIx-SearchBuilder
+pkgver=1.65
pkgrel=0
-pkgdesc="DBIx::SearchBuilder perl module"
+pkgdesc="Encapsulate SQL queries and rows in simple perl objects"
url="http://search.cpan.org/dist/DBIx-SearchBuilder/"
arch="noarch"
-license="GPLv2 or Artistic"
-depends="perl perl-dbd-sqlite perl-want perl-class-returnvalue perl-clone
- perl-cache-simple-timedexpiry perl-class-accessor perl-dbix-dbschema"
-makedepends="perl-dev"
-install=""
+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/R/RU/RUZ/DBIx-SearchBuilder-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/T/TS/TSIBLEY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/DBIx-SearchBuilder-$pkgver
prepare() {
- local i
cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
}
package() {
@@ -37,4 +36,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="70a4b780fb569f71e3631bd79cebe12e DBIx-SearchBuilder-1.59.tar.gz"
+md5sums="a57146be76424d7aa8279f45a234fe5c DBIx-SearchBuilder-1.65.tar.gz"
+sha256sums="4b91265f6543031a9a267e10d5c7bc6926f100d19ac1edae36793227419ae349 DBIx-SearchBuilder-1.65.tar.gz"
+sha512sums="37abd5a0664a5b0ed08a1172f98545480682493766045797757ba551d18dba23537749fdc6647b47c5f5a337c80b7fa153f76e017c28b653fb8da10a1154b3ce DBIx-SearchBuilder-1.65.tar.gz"