mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
31 lines
947 B
Bash
31 lines
947 B
Bash
# $Id: PKGBUILD 47736 2009-07-25 22:25:27Z kevin $
|
|
# Maintainer: eric <eric@archlinux.org>
|
|
# Contributor: Matt Thompson <mattt@defunct.ca>
|
|
|
|
pkgname=perl-dbi
|
|
_realname=DBI
|
|
pkgver=1.609
|
|
pkgrel=1
|
|
pkgdesc="Database independent interface for Perl"
|
|
arch=(i686 x86_64)
|
|
license=('GPL' 'PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://www.cpan.org/authors/id/T/TI/TIMB/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('e4689870b3f7ce503022a076c53284ed')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
|
|
# install module in vendor directories.
|
|
#PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|
|
# vim: ts=2 sw=2 et ft=sh
|