blob: 74835b9de7971b4ea58835829450176658737fc0 (
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
|
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
pkgname=jdk-jetbrains
_major=11
_minor=0.9
_build=1183.8
pkgver=${_major}.${_minor}b${_build}
pkgrel=1
pkgdesc='OpenJDK development kit with some fixes and enhancements by JetBrains'
arch=('x86_64')
url="https://bintray.com/jetbrains/intellij-jbr"
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')
_zipname="jbrsdk-${_major}_${_minor//./_}-linux-x64-b${_build}.tar.gz"
source=("${_zipname}::https://bintray.com/jetbrains/intellij-jbr/download_file?file_path=${_zipname}")
b2sums=('39474650bc3679853cc4f707231cf8a55326a2179d435e9f8aa5160fff51081e99847a09e16a6eb3bbeded09ad731205ce3e3de6b58d82e7798a9696fa683616')
package() {
find . -exec chmod g+r,o+r {} +
mkdir -p "${pkgdir}"/usr/lib/jvm
cp -a jbrsdk "${pkgdir}"/usr/lib/jvm/${pkgname}
ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}"/usr/lib/jvm/${pkgname}/lib/security/cacerts
}
|