diff options
author | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
commit | 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch) | |
tree | 438c05155823f16b71f4277fef949610bf6fe826 /community/perl-dbd-odbc | |
parent | 108636e69eaeef67f4e7263c7f26105e25979e89 (diff) |
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-dbd-odbc')
-rw-r--r-- | community/perl-dbd-odbc/PKGBUILD | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/community/perl-dbd-odbc/PKGBUILD b/community/perl-dbd-odbc/PKGBUILD index 49a980cac..d787e37b5 100644 --- a/community/perl-dbd-odbc/PKGBUILD +++ b/community/perl-dbd-odbc/PKGBUILD @@ -1,25 +1,33 @@ -# $Id: PKGBUILD 35616 2010-12-21 22:59:14Z tdziedzic $ +# $Id: PKGBUILD 47750 2011-05-25 13:23:38Z tdziedzic $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-dbd-odbc -pkgver=1.24 -pkgrel=2 +pkgver=1.29 +pkgrel=1 pkgdesc="ODBC Driver for DBI" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/DBD-ODBC/" license=('GPL' 'PerlArtistic') -depends=('perl-dbi>=1.52' 'perl>=5.10.0' 'unixodbc') +depends=('perl-dbi' 'perl' 'unixodbc') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/M/MJ/MJEVANS/DBD-ODBC-$pkgver.tar.gz) -md5sums=('2abf660489f4649725f47bd0e7507137') +source=("http://search.cpan.org/CPAN/authors/id/M/MJ/MJEVANS/DBD-ODBC-${pkgver}.tar.gz") +md5sums=('66fee532cab75a1e5ffa81dfd26b2367') build() { - cd $srcdir/DBD-ODBC-$pkgver + cd DBD-ODBC-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +} + +package() { + cd DBD-ODBC-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } |