blob: 452255ba92c714505887d3c843cd753662e067db (
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
|
# Maintainer: SandaruKasa <sandarukasa plus aur at ya dot ru>
# Contributor: handsomexdd1024
# Based upon orphaned 'jdk-jetbrains' by Travis Weir <tweirtx at gmail dot com>
pkgname=jdk17-jetbrains-bin
_major=17
_minor=0.12
_build=1087.25
_prefix="/usr/lib/jvm/java-${_major}-jetbrains"
pkgver="${_major}.${_minor}b${_build}"
pkgrel=1
pkgdesc='OpenJDK development kit with some fixes and enhancements by JetBrains'
arch=('x86_64')
url="https://github.com/JetBrains/JetBrainsRuntime/releases"
license=('GPL2')
depends=( 'java-runtime-common' 'ca-certificates-java' 'java-environment-common' )
provides=("java-runtime=$_major" "java-runtime-headless=$_major" "java-environment=$_major"
"java-runtime-openjdk=$_major" "java-runtime-headless-jre=$_major" "java-environment-openjdk=$_major")
replaces=('intellij-jdk' 'jdk-jetbrains')
_basename="jbrsdk_jcef-${_major}.${_minor}-linux-x64-b${_build}"
_zipname="${_basename}.tar.gz"
source=("${_zipname}::https://cache-redirector.jetbrains.com/intellij-jbr/${_zipname}")
sha512sums=('710b005146d6c8d2d016581a1f422f58cc1652283b799f36eb0f6d1ca3e4cd1eb9fe2e29562a723a1108e36da9b50afb2b315dcb9379a13470a586c27e478e63')
package() {
find . -exec chmod g+r,o+r {} +
mkdir -p "${pkgdir}"/usr/lib/jvm
cp -a "${_basename}" "${pkgdir}""${_prefix}"
ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}""${_prefix}"/lib/security/cacerts
}
|