diff options
author | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
commit | 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch) | |
tree | 438c05155823f16b71f4277fef949610bf6fe826 /community/perl-dbd-sybase | |
parent | 108636e69eaeef67f4e7263c7f26105e25979e89 (diff) |
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-dbd-sybase')
-rw-r--r-- | community/perl-dbd-sybase/PKGBUILD | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/community/perl-dbd-sybase/PKGBUILD b/community/perl-dbd-sybase/PKGBUILD index 67f8188f6..a33488520 100644 --- a/community/perl-dbd-sybase/PKGBUILD +++ b/community/perl-dbd-sybase/PKGBUILD @@ -1,24 +1,33 @@ -# $Id: PKGBUILD 35625 2010-12-21 23:02:34Z tdziedzic $ +# $Id: PKGBUILD 47759 2011-05-25 13:32:36Z tdziedzic $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-dbd-sybase -pkgver=1.10 -pkgrel=2 +pkgver=1.12 +pkgrel=1 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=('86668c8f626f5aa33620b2746c4dbcf1') +source=("http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-${pkgver}.tar.gz") +md5sums=('fc01efe30102e801f6fdc1c96352fcde') build() { - cd $srcdir/DBD-Sybase-$pkgver + 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 +} + +package() { + cd $srcdir/DBD-Sybase-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } |