diff options
Diffstat (limited to 'extra/perl-dbd-mysql/PKGBUILD')
-rw-r--r-- | extra/perl-dbd-mysql/PKGBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/extra/perl-dbd-mysql/PKGBUILD b/extra/perl-dbd-mysql/PKGBUILD index eede2d91d..21586d5f3 100644 --- a/extra/perl-dbd-mysql/PKGBUILD +++ b/extra/perl-dbd-mysql/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 146787 2012-01-18 02:09:02Z allan $ +# $Id: PKGBUILD 160517 2012-06-02 10:27:16Z bluewind $ # Maintainer: kevin <kevin@archlinux.org> # Contributor: Eric Johnson <eric@coding-zone.com> pkgname=perl-dbd-mysql _realname=DBD-mysql pkgver=4.020 -pkgrel=2 +pkgrel=3 pkgdesc="Perl/CPAN DBD::mysql module for interacting with MySQL via DBD" arch=(i686 x86_64 'mips64el') license=('GPL' 'PerlArtistic') @@ -17,7 +17,7 @@ source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/${_realname}-${pkgv md5sums=('a2bf8808bbd45298e84dde06afbd58e9') build() { - cd ${srcdir}/${_realname}-${pkgver} + cd "${srcdir}/${_realname}-${pkgver}" # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor --testsocket=/tmp/socket.mysql @@ -25,7 +25,7 @@ build() { } check() { - cd ${srcdir}/${_realname}-${pkgver} + cd "${srcdir}/${_realname}-${pkgver}" mkdir -p /tmp/mysql_test mysql_install_db \ --basedir=/usr \ @@ -40,10 +40,6 @@ check() { } 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 + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" } |