summaryrefslogtreecommitdiff
path: root/community-testing/perl-dbd-sqlite2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/perl-dbd-sqlite2/PKGBUILD')
-rw-r--r--community-testing/perl-dbd-sqlite2/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community-testing/perl-dbd-sqlite2/PKGBUILD b/community-testing/perl-dbd-sqlite2/PKGBUILD
new file mode 100644
index 000000000..25a63419d
--- /dev/null
+++ b/community-testing/perl-dbd-sqlite2/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 71392 2012-05-27 07:40:03Z bluewind $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Charles Mauch <cmauch@gmail.com>
+
+pkgname=perl-dbd-sqlite2
+pkgver=0.33
+pkgrel=9
+pkgdesc="Perl/CPAN Module DBD::SQLite2"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/DBD-SQLite2"
+license=("GPL" "PerlArtistic")
+depends=("perl-dbi")
+source=("http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite2-${pkgver}.tar.gz")
+md5sums=('babd83fd5eb9ba7560ad4bab4c76c0eb')
+
+build() {
+ cd DBD-SQLite2-${pkgver}
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd DBD-SQLite2-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
+}