summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2020-01-20 22:10:54 -0500
committerChris Severance2020-01-20 22:10:54 -0500
commit88873ba3bae27d7e931c97e287b618c044250526 (patch)
treee73e25fc06a54b7421cf0a437d76d65793cab8d5
parentbff49b15cec8be3c0ea4f8d25d9692fa1045a4b8 (diff)
downloadaur-88873ba3bae27d7e931c97e287b618c044250526.tar.gz
autu: Update to 11.0.6-1
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD44
-rwxr-xr-xreadme.sh2
3 files changed, 39 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3368d9a8b72..d2a56f7c068 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,8 @@
-# Generated by mksrcinfo v8
-# Fri Oct 18 23:42:17 UTC 2019
pkgbase = jdk11
- pkgdesc = Oracle Java 11 Development Kit
- pkgver = 11.0.5
+ pkgdesc = Oracle Java 11 Development Kit LTS
+ pkgver = 11.0.6
pkgrel = 1
- url = https://www.oracle.com/java/
+ url = https://www.oracle.com/technetwork/java/javase/downloads/index.html
install = jdk11.install
arch = x86_64
license = custom
@@ -15,27 +13,28 @@ pkgbase = jdk11
depends = hicolor-icon-theme
provides = java-environment=11
provides = java-environment-jdk=11
- source = manual://jdk-11.0.5_linux-x64_bin.tar.gz
+ options = !strip
+ source = manual://jdk-11.0.6_linux-x64_bin.tar.gz
source = java.desktop
source = jconsole.desktop
source = jshell.desktop
source = java_16.png
source = java_48.png
source = readme.sh
- md5sums = 8a6fa2e2ce09c1cf9de4b3a77dcc867d
+ md5sums = a1c006e67657892168532af68a89230f
md5sums = 985d0d81ece57d0ea633ccc1d3fd78ed
md5sums = fbd4ddd9069e48a65da6e0cb33db9bc1
md5sums = e59149780f4d1124f6e339611da9c70b
md5sums = 6181f1ef1e5aeb637ef4cd593106beef
md5sums = 1db7eb33e844d1a41bce196ab622da40
- md5sums = 4dda444d58a4d78ca6357228adbde8a2
- sha256sums = 387e60bdad6d6fc20d41cd712536f0f7adbb086fa73bc3cb225b3edad0bfa0a6
+ md5sums = 51c8839211cc53f09c9b11a8e28ed1ef
+ sha256sums = a11bac55a96493556f349eead956b94d32f6a71031373771dca4cc72b89a82b4
sha256sums = 1052634cdcbf50ca14b864b58f3afa53de1706bdc9c593667c29974146212c54
sha256sums = 9a84d1b4dd969e867b2dbb6df0d0c44814729e0f1d0c61ab6c54d676eae83b3b
sha256sums = 73d686fd6e478a887a51451d7ada7c045f31ce299f65f45e50a793820ee99d85
sha256sums = d27fec1d74f7a3081c3d175ed184d15383666dc7f02cc0f7126f11549879c6ed
sha256sums = 7cf8ca096e6d6e425b3434446b0835537d0fc7fe64b3ccba7a55f7bd86c7e176
- sha256sums = d1b4b3161614d7620365a0528a86f7eec543de30ee756b1ad2dabd386e84f734
+ sha256sums = f1081b08cfbb467277e95b3794191c9963398579733fa8832425b308b5917711
pkgname = jdk11
diff --git a/PKGBUILD b/PKGBUILD
index bfa9607c299..f2105bf2fb2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,19 +6,25 @@ set -u
pkgname='jdk11'
#pkgver='11.0.3'; _build='12'; _hash='37f5e150db5247ab9333b11c1dddcd30'
#pkgver='11.0.4'; _build='10'; _hash='cf1bbcbf431a474eb9fc550051f4ee78'
-pkgver='11.0.5'; _build='10'; _hash='e51269e04165492b90fa15af5b4eb1a5'
+#pkgver='11.0.5'; _build='10'; _hash='e51269e04165492b90fa15af5b4eb1a5'
+pkgver='11.0.6'; _build='8'; _hash='90eb79fb590d45c8971362673c5ab495'
_major="${pkgver%%.*}"
pkgrel='1'
pkgdesc="Oracle Java ${_major} Development Kit"
+pkgdesc+=' LTS'
arch=('x86_64')
-url='https://www.oracle.com/java/'
+url='https://www.oracle.com/technetwork/java/javase/downloads/index.html'
license=('custom')
depends=('java-environment-common' "jre>=${_major}" "jre<$((_major + 1))" 'zlib' 'hicolor-icon-theme')
-provides=("java-environment=${_major}" "java-environment-jdk=${_major}")
+provides=(
+ "java-environment=${_major}"
+ "java-environment-jdk=${_major}"
+)
+options=('!strip') # JDK debug-symbols
install="${pkgname}.install"
_srcfil="jdk-${pkgver}_linux-x64_bin.tar.gz"
source=(
- "https://download.oracle.com/otn-pub/java/jdk/${pkgver}+${_build}/${_hash}/${_srcfil}"
+ "https://download.oracle.com/otn-pub/java/jdk/${pkgver}+${_build}/${_hash}/${_srcfil}" # Now /otn/, Oracle sso required
'java.desktop'
'jconsole.desktop'
'jshell.desktop'
@@ -29,30 +35,38 @@ source=(
# from oracle-sqldeveloper
DLAGENTS+=("manual::${startdir:-}/readme.sh %o %u")
source[0]="manual://${_srcfil}"
-if [ -s ~/"Downloads/${_srcfil}" ] && [ ! -e "${_srcfil}" ]; then
- if type msg > /dev/null 2>&1; then
- set +u
- msg "Scooping files from ~/Downloads"
- msg2 "${_srcfil}"
- set -u
- ln -sr ~/"Downloads/${_srcfil}"
+if [ ! -z "${HOME:-}" ]; then # block mksrcinfo
+ XDG_DOWNLOAD_DIR="$(xdg-user-dir DOWNLOAD 2>/dev/null)" || :
+ if [ -z "${XDG_DOWNLOAD_DIR}" ]; then
+ XDG_DOWNLOAD_DIR=~/'Downloads'
+ fi
+ if [ -s "${XDG_DOWNLOAD_DIR}/${_srcfil}" ] && [ ! -e "${_srcfil}" ]; then
+ if type msg > /dev/null 2>&1; then
+ set +u
+ msg "Scooping files from ${XDG_DOWNLOAD_DIR}"
+ msg2 "${_srcfil}"
+ set -u
+ ln -sr "${XDG_DOWNLOAD_DIR}/${_srcfil}"
+ fi
fi
fi
unset _srcfil
-md5sums=('8a6fa2e2ce09c1cf9de4b3a77dcc867d'
+unset XDG_DOWNLOAD_DIR
+
+md5sums=('a1c006e67657892168532af68a89230f'
'985d0d81ece57d0ea633ccc1d3fd78ed'
'fbd4ddd9069e48a65da6e0cb33db9bc1'
'e59149780f4d1124f6e339611da9c70b'
'6181f1ef1e5aeb637ef4cd593106beef'
'1db7eb33e844d1a41bce196ab622da40'
- '4dda444d58a4d78ca6357228adbde8a2')
-sha256sums=('387e60bdad6d6fc20d41cd712536f0f7adbb086fa73bc3cb225b3edad0bfa0a6'
+ '51c8839211cc53f09c9b11a8e28ed1ef')
+sha256sums=('a11bac55a96493556f349eead956b94d32f6a71031373771dca4cc72b89a82b4'
'1052634cdcbf50ca14b864b58f3afa53de1706bdc9c593667c29974146212c54'
'9a84d1b4dd969e867b2dbb6df0d0c44814729e0f1d0c61ab6c54d676eae83b3b'
'73d686fd6e478a887a51451d7ada7c045f31ce299f65f45e50a793820ee99d85'
'd27fec1d74f7a3081c3d175ed184d15383666dc7f02cc0f7126f11549879c6ed'
'7cf8ca096e6d6e425b3434446b0835537d0fc7fe64b3ccba7a55f7bd86c7e176'
- 'd1b4b3161614d7620365a0528a86f7eec543de30ee756b1ad2dabd386e84f734')
+ 'f1081b08cfbb467277e95b3794191c9963398579733fa8832425b308b5917711')
PKGEXT='.pkg.tar.gz' # much faster than .xz
diff --git a/readme.sh b/readme.sh
index b9aaf2237f8..61f35b6bb52 100755
--- a/readme.sh
+++ b/readme.sh
@@ -7,7 +7,7 @@ echo ' https://www.oracle.com/technetwork/java/javase/downloads/'
echo ' Java SE ... JDK, Download v'
echo 'and download'
echo " ${1%.part}"
-echo 'to your ~/Downloads folder or in with the PKGBUILD.'
+echo 'to your Downloads folder (XDG_DOWNLOAD_DIR) or in with the PKGBUILD.'
echo ''
echo 'Please do not post alternate sources. They are not legal. Advertising'
echo 'will get them taken down by Oracle or too much traffic. Keep it a'