summaryrefslogtreecommitdiff
path: root/community/perl-dbd-odbc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-dbd-odbc/PKGBUILD')
-rw-r--r--community/perl-dbd-odbc/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/perl-dbd-odbc/PKGBUILD b/community/perl-dbd-odbc/PKGBUILD
new file mode 100644
index 000000000..49a980cac
--- /dev/null
+++ b/community/perl-dbd-odbc/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 35616 2010-12-21 22:59:14Z 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
+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')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/M/MJ/MJEVANS/DBD-ODBC-$pkgver.tar.gz)
+md5sums=('2abf660489f4649725f47bd0e7507137')
+
+build() {
+ cd $srcdir/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
+}