summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2019-04-16 20:59:01 -0400
committerChris Severance2019-04-16 20:59:01 -0400
commit1b4a5e9ccd657981cb527ef898fe4ae412d413cf (patch)
treeb26e6641409a6f0611360e612d7ac4083ac66876
parent006df42afd4dae7d5a3b74598380941a93427285 (diff)
downloadaur-1b4a5e9ccd657981cb527ef898fe4ae412d413cf.tar.gz
autu: Update to 8u202-1 Update context launch
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed58454d6e9..7f82ea42f6f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Jan 19 22:40:47 UTC 2019
+# Wed Apr 17 00:59:01 UTC 2019
pkgbase = jdk8
pkgdesc = Oracle Java 8 Development Kit
pkgver = 8u202
diff --git a/PKGBUILD b/PKGBUILD
index d4fc0e52f0d..486668e52fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -64,8 +64,11 @@ sha256sums=('f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59'
'8f865b52946a9ab98556c56306c7e70ae7aa432b4d005c70df0bba9d2c3111b1'
'144e6651fcea08d95f3148d3a8ad17deb93fec4dd9236d37d27d7c648230b870'
'635433e9c78ff58af65c316232ac9907d289a324428923788ea0f82ae7f8083b')
+#PKGEXT='.pkg.tar.gz'
## Alternative mirror, if your local one is throttled:
-#source[0]=("http://ftp.wsisiz.edu.pl/pub/pc/pozyteczne%20oprogramowanie/java/${_pkgname}-${pkgver}-linux-x64.gz")
+## Posting new sites does no good. They get taken down by the admin
+## from too much traffic or complaints from Oracle.
+#source[1]="http://ftp.wsisiz.edu.pl/pub/pc/pozyteczne%20oprogramowanie/java/${_pkgname}-${pkgver}-linux-x64.gz"
package() {
set -u
@@ -120,6 +123,11 @@ package() {
mv 'jre/lib/desktop'/* "${pkgdir}/usr/share/"
install -m644 "${srcdir}"/*.desktop "${pkgdir}/usr/share/applications/"
+ # Enable context menu launch (Austcool)
+ sed -e 's:^NoDisplay=true:#&:g' \
+ -e 's:^Exec=/usr.*$:& -F:g' \
+ -i "${pkgdir}/usr/share/applications/sun-java-jdk8.desktop"
+
# Move confs to /etc and link back to /usr: /usr/lib/jvm/java-${_jname}/jre/lib -> /etc
local _new_etc_path
for _new_etc_path in "${backup[@]}"; do