blob: 87bac7dbf56a0d44b27735ddb39d5adfd4670d4b (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Maintainer: Malek Camilo <malek.camilo@gmail.com>
# Contributor: Matt Parnell <parwok@gmail.com>
# Contributor: Fredy GarcĂa <frealgagu@gmail.com>
# Contributor: Yan Doroshenko <yandoroshenko@protonmail.com>
# Contributor: G. Richard Bellamy <rbellamy@pteradigm.com>
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>
# Contributor: ptk042 <ptk042@gmail.com>
# Contributor: mmm <markotahal@gmail.com>
# Contributor: xduugu <xduugu@gmx.com>
# Contributor: Evangelos Foutras <foutrelis@gmail.com>
# Contributor: David Fuhr <david.fuhr@web.de>
pkgname=oracle-sqldeveloper
pkgver=24.3.0.284.2209
pkgrel=1
pkgdesc="A graphical tool for database development"
arch=("any")
url="https://www.oracle.com/tools/downloads/sqldev-downloads.html"
license=("custom:OTN")
depends=("bash" "freetype2" "java-environment=17")
optdepends=(
"ksh"
"java17-openjfx: Required to run the application with JDK17"
)
install="${pkgname}.install"
source=(
"https://download.oracle.com/otn_software/java/sqldeveloper/${pkgname#oracle-}-${pkgver}-no-jre.zip"
"${pkgname}.desktop"
"${pkgname}.sh"
"LICENSE"
"java_home.patch"
)
md5sums=(
"9134de7858ff9a4891224ad34ec77ee1"
"1d17d18e10ab85dead0770e8840273b3"
"26c1dc933a9ab58a4245f4f351717645"
"9919d8008722306b90a60a62f3bd75de"
"f732d162c751dc096bbe0e0f96b78754"
)
sha1sums=(
"3da3652bce6dac2bc947d51717c8920860f747e3"
"056bef8e3caa25e62c1395346c34f8a83c532aa8"
"f33177179a2c6ea8b3fa8db5465dc36cf4317b1b"
"7cd71b0e3ea42b5bf520af7b796d78af5206843f"
"f78dd599d2804dedabccf6e1746aa9bb27c2b7ee"
)
sha256sums=(
"fd931ea992a99f3330bd4dcaa6ae07d99366c7b07c7e4f6bba8ff131e9641dd2"
"bd028a137c83ab3698a562e9a7ec4006fb396178ab4a6ebdbaa60c75b5c0974c"
"43b16049fbf85740767c45f0387a7c5e6118b8876509a8f0bb621ed0b5576a25"
"2213ed6e2c1a355736728584379504eef6997f849852c61211e2719d6dd50f03"
"81f46da274adb392ed2c7118d7cae0030521134b9db1d10313ff1df6486fe8b2"
)
prepare() {
cd "${srcdir}/${pkgname#oracle-}"
patch -Np1 -i "${srcdir}/java_home.patch"
}
package() {
cd "${srcdir}/${pkgname#oracle-}"
find . \( -iname "*.exe" -o -iname "*.dll" \) -exec rm -f "{}" +
find . -type f -exec install -Dm644 "{}" "${pkgdir}/opt/${pkgname}/{}" \;
chmod +x "${pkgdir}/opt/${pkgname}/${pkgname#oracle-}.sh"
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|