summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9eb5feb9893..26ead39b999 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = jdk7
pkgdesc = Oracle Java 7 Development Kit (public release - end of support)
pkgver = 7u79
- pkgrel = 3
+ pkgrel = 4
url = http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
install = jdk7.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 1ef64da38d4..b29d93df94c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ _major=7
_minor=79
_build=b15
pkgver=${_major}u${_minor}
-pkgrel=3
+pkgrel=4
pkgdesc="Oracle Java $_major Development Kit (public release - end of support)"
arch=('i686' 'x86_64')
url='http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html'
@@ -103,8 +103,11 @@ package() {
rename -- "." "-$_jname." $i
done
- # Fix .desktop paths
- sed -e "s|Exec=|&$_jvmdir/jre/bin/|" \
+ # Fix .desktop's
+ sed -e '/JavaWS/!s|Name=Java|Name=Java '"$_major"'|' \
+ -e "s|Name=JavaWS|Name=JavaWS $_major|" \
+ -e "s|Comment=Java|Comment=Java $_major|" \
+ -e "s|Exec=|&$_jvmdir/bin/|" \
-e "s|.png|-$_jname.png|" \
-i jre/lib/desktop/applications/*