summaryrefslogtreecommitdiff
path: root/community/perl-dbd-sybase/PKGBUILD
blob: c1e1196c7ca552878359d6cb47db923e17bdfdd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 35625 2010-12-21 23:02:34Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-dbd-sybase
pkgver=1.10
pkgrel=2
pkgdesc="Sybase Driver for DBI"
arch=('i686' 'x86_64' 'mips64el')
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=('86668c8f626f5aa33620b2746c4dbcf1')

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
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}