diff options
Diffstat (limited to 'community-testing/perl-dbd-sybase')
-rw-r--r-- | community-testing/perl-dbd-sybase/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community-testing/perl-dbd-sybase/PKGBUILD b/community-testing/perl-dbd-sybase/PKGBUILD new file mode 100644 index 000000000..1d0009d64 --- /dev/null +++ b/community-testing/perl-dbd-sybase/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 71394 2012-05-27 07:40:07Z bluewind $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=perl-dbd-sybase +pkgver=1.14 +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=('db6662d710b3adffe37bd8aec8060eda') + +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 +} |