diff options
author | root <root@rshg054.dnsready.net> | 2011-12-17 23:14:43 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-17 23:14:43 +0000 |
commit | 146025aa1c838c12fa7b4873414da73816bfb6bd (patch) | |
tree | 22bcdae4c400322b756f2f4cc360de8c08b946a4 /community-staging/perl-dbd-odbc/PKGBUILD | |
parent | 492f7c22a61fdb0488000da9f66d68e11bb43918 (diff) |
Sat Dec 17 23:14:43 UTC 2011
Diffstat (limited to 'community-staging/perl-dbd-odbc/PKGBUILD')
-rw-r--r-- | community-staging/perl-dbd-odbc/PKGBUILD | 28 |
1 files changed, 28 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..12eaf6370 --- /dev/null +++ b/community-staging/perl-dbd-odbc/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 60689 2011-12-16 21:39:55Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-dbd-odbc +pkgver=1.33 +pkgrel=2 +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=('3e44ea4eb4b0bb711eea93632b76de17') + +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 +} |