summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
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/*