blob: f3f48d2502afed886f15043bc339a27b405b6df3 (
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
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Adam Nielsen <malvineous@shikadi.net>
# Contributor: Vitaliy Berdinskikh <skipper13@archlinux.org.ua>
# Contributor: Andrea Agosti <cifvts@gmail.com>
# Contributor: Viliam Pucik <viliam.pucik@gmail.com>
# Maintainer: Adam Nielsen <malvineous@shikadi.net>
# This package is also available as a Pacman repo, to simplify upgrades.
# Add the following lines to the end of /etc/pacman.conf:
#
# [oracle]
# SigLevel = Optional TrustAll
# Server = http://linux.shikadi.net/arch/$repo/$arch/
#
# Then run `pacman -Sy` then `pacman -S oracle-instantclient-sdk`
_pkgname=instantclient-sdk
pkgname=oracle-${_pkgname}
pkgver=23.26.2.0.0
_pkgver_vendor_suffix=
_urlver=2326200v2
_unzippath=instantclient_23_26
pkgrel=1
pkgdesc="Additional header files for developing Oracle applications with Instant Client"
arch=('x86_64')
url="https://www.oracle.com/at/database/technologies/instant-client/downloads.html"
license=('custom:OTN')
depends=(oracle-instantclient-basic=$pkgver)
replaces=('instantclient-sdk')
options=(!strip)
source=("https://download.oracle.com/otn_software/linux/instantclient/${_urlver}/${_pkgname}-linux.x64-${pkgver}${_pkgver_vendor_suffix}.zip")
md5sums=('1d898351f02ac26278887bd3808fe66c')
sha256sums=('71c2c9ad3c5789804bb3d034d17ac82f284a807b87d312752c6e63d68974dc21')
package() {
# Put all .h files into /usr/include
cd "$srcdir/${_unzippath}/"
install -d "$pkgdir/usr/include"
install -m 644 -t "$pkgdir/usr/include" sdk/include/*.h
# But we don't want this one, it is unused and it conflicts with another
rm "$pkgdir/usr/include/ldap.h"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" *LICENSE
}
|