diff options
author | root <root@rshg047.dnsready.net> | 2011-05-26 22:47:02 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-26 22:47:02 +0000 |
commit | 956ae4eb53422c92f78d86d5511f25fbf6fa6497 (patch) | |
tree | caf6b75559c4c4d94ad9f94c1909f410c90e2ad0 /community-staging/perl-dbd-odbc/PKGBUILD | |
parent | 6e35be4b44d90f92ddceb8b067cbbf03fc652a35 (diff) |
Thu May 26 22:47:02 UTC 2011
Diffstat (limited to 'community-staging/perl-dbd-odbc/PKGBUILD')
-rw-r--r-- | community-staging/perl-dbd-odbc/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community-staging/perl-dbd-odbc/PKGBUILD b/community-staging/perl-dbd-odbc/PKGBUILD new file mode 100644 index 000000000..d787e37b5 --- /dev/null +++ b/community-staging/perl-dbd-odbc/PKGBUILD @@ -0,0 +1,33 @@ +# $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.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' 'perl' 'unixodbc') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/M/MJ/MJEVANS/DBD-ODBC-${pkgver}.tar.gz") +md5sums=('66fee532cab75a1e5ffa81dfd26b2367') + +build() { + cd DBD-ODBC-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd DBD-ODBC-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} |