diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-02 10:50:51 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-02 10:50:51 -0300 |
commit | 901d121a0b559ed0c285f6cf7daebd0e0081a327 (patch) | |
tree | 814faf33f5ac64cc28c07e45f56c240c93605746 /community-testing/perl-dbd-pg/PKGBUILD | |
parent | d0fae3a9b2c0de7490049611767dc2a3d6e94899 (diff) | |
parent | e7b9c9697e6a50c3b9e78941fa95ba11c716d238 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
testing/mesa/PKGBUILD
Diffstat (limited to 'community-testing/perl-dbd-pg/PKGBUILD')
-rw-r--r-- | community-testing/perl-dbd-pg/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community-testing/perl-dbd-pg/PKGBUILD b/community-testing/perl-dbd-pg/PKGBUILD new file mode 100644 index 000000000..7af282d37 --- /dev/null +++ b/community-testing/perl-dbd-pg/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 47753 2011-05-25 13:27:50Z tdziedzic $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-dbd-pg +pkgver=2.18.1 +pkgrel=1 +pkgdesc="Postgres Driver for DBI" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/DBD-Pg" +license=('GPL' 'PerlArtistic') +depends=('perl-dbi>=1.52' 'postgresql-libs') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-${pkgver}.tar.gz") +md5sums=('1f4a837b3d79789ad6854443fce7a901') + +build() { + cd DBD-Pg-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd DBD-Pg-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} |