[arch-commits] Commit in perl-dbd-mysql/trunk (PKGBUILD)
Kevin Piché
kevin at archlinux.org
Fri Nov 26 00:33:20 UTC 2010
Date: Thursday, November 25, 2010 @ 19:33:20
Author: kevin
Revision: 100849
upgpkg: perl-dbd-mysql 4.018-1
Updated to 4.018 and built for perl 5.12.2
Modified:
perl-dbd-mysql/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-11-26 00:13:56 UTC (rev 100848)
+++ PKGBUILD 2010-11-26 00:33:20 UTC (rev 100849)
@@ -1,10 +1,10 @@
# $Id$
-# Maintainer: Kevin Piche <kevin at archlinux.org>
+# Maintainer: kevin <kevin at archlinux.org>
# Contributor: Eric Johnson <eric at coding-zone.com>
pkgname=perl-dbd-mysql
_realname=DBD-mysql
-pkgver=4.014
+pkgver=4.018
pkgrel=1
pkgdesc="Perl/CPAN DBD::mysql module for interacting with MySQL via DBD"
arch=(i686 x86_64)
@@ -14,16 +14,21 @@
makedepends=('mysql')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/${_realname}-${pkgver}.tar.gz)
-md5sums=('74f118a4984e6a49f8ece28e68caf543')
+md5sums=('d1d4ee2f20910d6491d1b6216471b2f1')
build() {
cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
- perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make install DESTDIR=${pkgdir} || return 1
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make test
+}
+package() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+
# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
More information about the arch-commits
mailing list