# Maintainer: Mohammadreza Abdollahzadeh # Contributer: Felix Golatofski # Contributer: Jamie Magee pkgname=java-openjfx-ea-bin _majorver=18 _buildver=5 pkgver=${_majorver}rc${_buildver} pkgrel=1 pkgdesc="Java OpenJFX ${_majorver} Early-Access Build." arch=('x86_64') url='https://openjfx.io/' license=('GPL2') depends=('java-openjdk-ea-bin' 'gstreamer' 'libxtst' 'webkit2gtk' 'ffmpeg' 'qt5-base') provides=("java-openjfx=${_majorver}") conflicts=("java${_majorver}-openjfx") source=("https://download2.gluonhq.com/openjfx/${_majorver}/openjfx-${_majorver}-ea+${_buildver}_linux-x64_bin-sdk.zip" "https://download2.gluonhq.com/openjfx/${_majorver}/openjfx-${_majorver}-ea+${_buildver}_linux-x64_bin-jmods.zip" "https://download2.gluonhq.com/openjfx/${_majorver}/openjfx-${_majorver}-ea+${_buildver}-javadoc.zip") sha256sums=('f0abe670ed2ae1df95997d30784d11a11fd2eaec42ee41ef661f3497773f7a43' 'c6023525c47caa5803e9c19a996c6c6ce98c516030bbe68280f2dc2ae8b9b51b' '4b44b89df2d71155ed93f8043ef0b5ea0dbe218bad3653c3231889b2c226ed8d') _jvmdir="usr/lib/jvm/java-${_majorver}-openjdk" package() { # Install install -d "${pkgdir}/${_jvmdir}" cp -a "javafx-sdk-${_majorver}/lib" "${pkgdir}/${_jvmdir}/" install -Dm 644 "javafx-sdk-${_majorver}/src.zip" "${pkgdir}/${_jvmdir}/lib/javafx-src.zip" # Legal install -d "${pkgdir}/usr/share/licenses/java${_majorver}-openjdk" cp -a "javafx-sdk-${_majorver}/legal" "${pkgdir}/usr/share/licenses/java${_majorver}-openjdk/" # Jmods install -d "${pkgdir}/${_jvmdir}/jmods" cp -a "javafx-jmods-${_majorver}/"* "${pkgdir}/${_jvmdir}/jmods/" # Docs install -d "${pkgdir}/usr/share/doc/java${_majorver}-openjfx" cp -a "javafx-${_majorver}-javadoc/"* "${pkgdir}/usr/share/doc/java${_majorver}-openjfx/" } # vim:set ts=4 sw=4: