summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 03b81a8bdda..ab99daea945 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
-# Maintainer: -
-# Contributors: Det, Damian Nowak
+# Maintainer: Det
+# Contributors: Damian Nowak
_pkgname=jdk
pkgname=bin32-jdk6
@@ -10,7 +10,7 @@ pkgver=${_major}u${_minor}
pkgrel=4
pkgdesc="Oracle Java $_major Development Kit (32-bit) (public release - end of support)"
arch=('x86_64')
-url=https://www.java.com/en/download/faq/java_6.xml
+url="https://www.java.com/en/download/faq/java_$_major.xml"
license=('custom')
depends_x86_64=('ca-certificates-java' 'desktop-file-utils' 'hicolor-icon-theme' 'java32-environment-common'
'java32-runtime-common' 'lib32-glibc' 'lib32-libjpeg-turbo' 'lib32-lcms2' 'lib32-libxrender'
@@ -134,7 +134,7 @@ package() {
# Suffix man pages
for i in $(find man/ -type f); do
- mv "${i}" "${i/.1}32-${_jname}.1"
+ mv "$i" "${i/.1}32-$_jname.1"
done
# Move man pages
@@ -151,6 +151,8 @@ package() {
# - http://suhothayan.blogspot.com/2012/05/how-to-install-java-cryptography.html
# - http://www.eyrie.org/~eagle/notes/debian/jce-policy.html
install -m644 "$srcdir"/jce/*.jar jre/lib/security/
+ install -Dm644 "$srcdir"/jce/README.txt \
+ "$pkgdir"/usr/share/doc/$pkgname/README_-_Java_JCE_Unlimited_Strength.txt
msg2 "Enabling copy+paste in unsigned applets..."
# Copy/paste from system clipboard to unsigned Java applets has been disabled since 6u24: