From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/perl-dbd-sybase/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 community/perl-dbd-sybase/PKGBUILD (limited to 'community/perl-dbd-sybase/PKGBUILD') diff --git a/community/perl-dbd-sybase/PKGBUILD b/community/perl-dbd-sybase/PKGBUILD new file mode 100644 index 000000000..e0962a6e3 --- /dev/null +++ b/community/perl-dbd-sybase/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 91667 2013-05-26 09:25:03Z bluewind $ +# Maintainer: Sergej Pupykin + +pkgname=perl-dbd-sybase +pkgver=1.15 +pkgrel=2 +pkgdesc="Sybase Driver for DBI" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/DBD-Sybase/" +license=('GPL' 'PerlArtistic') +depends=('perl-dbi>=1.52' 'perl>=5.10.0' 'freetds') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-${pkgver}.tar.gz") +md5sums=('d76f09f9a25896fd879ef89a98748708') + +build() { + cd $srcdir/DBD-Sybase-${pkgver} + export SYBASE=/usr + echo -e "\n\n\n\n\n\n" | PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/DBD-Sybase-${pkgver} + make install DESTDIR=${pkgdir} + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} -- cgit v1.2.3-54-g00ecf