summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-01-24 07:20:50 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-01-24 07:20:50 +0000
commit90d1177ec1b87c9005b727ef068911416edfc891 (patch)
treea0d3a6daf760f0d675478ec52f6d045d4ca21c81
parentf7f5b3cce7936c3aec52d50676a2521244380e70 (diff)
downloadaports-90d1177ec1b87c9005b727ef068911416edfc891.tar.bz2
aports-90d1177ec1b87c9005b727ef068911416edfc891.tar.xz
testing/perl-dbd-sqlite: take maintainership and APKBUILD fixes
-rw-r--r--testing/perl-dbd-sqlite/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/perl-dbd-sqlite/APKBUILD b/testing/perl-dbd-sqlite/APKBUILD
index 7da98e6ca..cfae4580f 100644
--- a/testing/perl-dbd-sqlite/APKBUILD
+++ b/testing/perl-dbd-sqlite/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Jeff Bilyk <jbilyk at gmail>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=perl-dbd-sqlite
_realpkgname=DBD-SQLite
pkgver=0.31
-pkgrel=0
+pkgrel=1
pkgdesc="Perl CPAN DBD::SQLite module"
url="http://search.cpan.org/dist/${_realpkgname}"
arch="all"
@@ -20,13 +20,15 @@ prepare() {
build() {
cd "$_builddir"
- perl Makefile.PL INSTALLDIRS=vendor
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
}
md5sums="4aa99c39104b7cd39129aec548e7d3e4 DBD-SQLite-0.31.tar.gz"