summaryrefslogtreecommitdiff
path: root/community/perl-dbd-sqlite2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-dbd-sqlite2/PKGBUILD
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-dbd-sqlite2/PKGBUILD')
-rw-r--r--community/perl-dbd-sqlite2/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/community/perl-dbd-sqlite2/PKGBUILD b/community/perl-dbd-sqlite2/PKGBUILD
index 4128c77d2..314f129d4 100644
--- a/community/perl-dbd-sqlite2/PKGBUILD
+++ b/community/perl-dbd-sqlite2/PKGBUILD
@@ -1,24 +1,31 @@
-# $Id: PKGBUILD 35622 2010-12-21 23:01:28Z tdziedzic $
+# $Id: PKGBUILD 47756 2011-05-25 13:30:12Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-dbd-sqlite2
pkgver=0.33
-pkgrel=6
+pkgrel=7
pkgdesc="Perl/CPAN Module DBD::SQLite2"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/DBD-SQLite2"
license=("GPL" "PerlArtistic")
-makedepends=("perl-dbi")
depends=("perl-dbi")
-source=("http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite2-$pkgver.tar.gz")
+source=("http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite2-${pkgver}.tar.gz")
md5sums=('babd83fd5eb9ba7560ad4bab4c76c0eb')
build() {
- cd $srcdir/DBD-SQLite2-$pkgver
+ cd DBD-SQLite2-${pkgver}
+
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 DBD-SQLite2-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}