blob: 44afe65393d976ca21d5226bb6810a1b4e1d2c4b (
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
32
33
34
|
# Maintainer: EvaristeGalois11 <turbo dot backslid four zero zero at passinbox dot com>
# Contributor: Jason St. John <jstjohn .. purdue . edu>
# Contributor: Georg Grabler (STiAT) <ggrabler@gmail.com>
pkgname=perl-dbd-oracle
pkgver=1.83
pkgrel=2
pkgdesc="DBD::Oracle - Oracle database driver for the DBI module"
arch=('any')
url="http://search.cpan.org/dist/DBD-Oracle"
license=('GPL-1.0-or-later OR Artistic-1.0-Perl')
depends=('oracle-instantclient-basic' 'perl-dbi')
makedepends=('oracle-instantclient-sdk' 'oracle-instantclient-sqlplus')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/Z/ZA/ZARQUON/DBD-Oracle-${pkgver}.tar.gz")
sha256sums=('51fe9c158955fda0ca917a806863f0bc51068b533fbbc7423b3cc4ad595ed153')
prepare() {
if [[ -z ${ORACLE_HOME} ]]; then
echo "No Oracle / Instant Client installation found"
exit 1
fi
}
build() {
cd "DBD-Oracle-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "DBD-Oracle-${pkgver}"
make DESTDIR="${pkgdir}/" install
}
|