summaryrefslogtreecommitdiff
path: root/community/perl-dbd-sqlite2/PKGBUILD
blob: 35e26ee90fd4ae22e76aa92e30ae45ef9d05a2e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $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=7
pkgdesc="Perl/CPAN Module DBD::SQLite2"
arch=("i686" "x86_64" 'mips64el')
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
}