mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
23 lines
796 B
Bash
23 lines
796 B
Bash
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
|
|
|
pkgname=perl-dbd-odbc
|
|
pkgver=1.18
|
|
pkgrel=1
|
|
pkgdesc="ODBC Driver for DBI"
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/DBD-ODBC/"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl-dbi>=1.52' 'perl>=5.10.0' 'unixodbc')
|
|
options=('!emptydirs')
|
|
source=(http://search.cpan.org/CPAN/authors/id/M/MJ/MJEVANS/DBD-ODBC-$pkgver.tar.gz)
|
|
|
|
build() {
|
|
cd $startdir/src/DBD-ODBC-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|
|
md5sums=('5a504927157b6dbcdeb70c4c30b5c695')
|