blob: 12bdcac4ad90baac2dae253e4de39ace5ef1632b (
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.90
pkgrel=1
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=('2fcfdf5f1c2775d1a2e5f4d86d2a9d8dcf8f49792f6ce465b828b16df6d100cf')
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
}
|