summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDet2017-10-04 21:53:39 +0300
committerDet2017-10-04 21:53:39 +0300
commit4f2cbc4ba2fec919d9dbd88b1139768fbdad39dd (patch)
tree23c9364488c2733661afcc73e05168ad79cd603b /PKGBUILD
parentc330a52567f8499c1e1e7b960cdd26f754ed1533 (diff)
downloadaur-4f2cbc4ba2fec919d9dbd88b1139768fbdad39dd.tar.gz
Plugin + Cosmetics
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 7 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 824f6f10275..bcbcea29e68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,6 @@ _build=181
pkgver=${_major}u${_minor}
pkgrel=1
pkgdesc="Oracle Java Development Kit"
-#arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
license=('custom:Oracle')
@@ -43,17 +42,11 @@ source=("http://download.oracle.com/otn-pub/java/jdk/${_major}+${_build}/${pkgna
"jmc-$_jname.desktop"
"jvisualvm-$_jname.desktop"
"policytool-$_jname.desktop")
-#source_i686=("http://download.oracle.com/otn-pub/java/jdk/$pkgver-$_build/$_hash/$pkgname-$pkgver-linux-i586.tar.gz")
-#source_x86_64=("http://download.oracle.com/otn-pub/java/jdk/$pkgver-$_build/$_hash/$pkgname-$pkgver-linux-x64.tar.gz")
sha256sums=('1c6d783a54fcc0673ed1f8c5e8650b1d8977ca3e856a03fba0090198e0f16f6d'
'100fd0162a4be04371d9d53121bd511aeb0a230475497a8c19ed0cff20915efc'
'e4059de8ec0dee1a5eabd1d67a053509aa0009ba6e08739b11140c26f2fcc55a'
'1f74cc627bd6a934681fe2d453058c21794d1435205c501f7fecdaf2c94f5485'
'ff6684d7d5c26cc805e6f3918284a95b48223db4f37956f35a344373a2931aa4')
-#sha256sums_i686=('ba0c77644ece024cdb933571d79f0f035e91a9c9ab70de9c82446c9fbd000c97')
-#sha256sums_x86_64=('2ef49c97ddcd5e0de20226eea4cca7b0d7de63ddec80eff8291513f6474ca0dc')
-## Alternative mirror, if your local one is throttled:
-#source_x86_64=("http://ftp.wsisiz.edu.pl/pub/pc/pozyteczne%20oprogramowanie/java/$pkgname-$pkgver-linux-x64.gz")
package() {
cd $pkgname-$_major
@@ -121,10 +114,7 @@ package() {
done
# Link NPAPI plugin
- case "$CARCH" in
- i686) ln -sf $_jvmdir/lib/i386/libnpjp2.so "$pkgdir"/usr/lib/mozilla/plugins/libnpjp2-$_jname.so ;;
- x86_64) ln -sf $_jvmdir/lib/amd64/libnpjp2.so "$pkgdir"/usr/lib/mozilla/plugins/libnpjp2-$_jname.so ;;
- esac
+ ln -sf $_jvmdir/lib/libnpjp2.so "$pkgdir"/usr/lib/mozilla/plugins/libnpjp2-$_jname.so
# Replace JKS keystore with 'ca-certificates-java'
ln -sf /etc/ssl/certs/java/cacerts lib/security/cacerts
@@ -133,12 +123,12 @@ package() {
mv legal/ "$pkgdir"/usr/share/licenses/java$_major-$pkgname/
ln -sf /usr/share/licenses/java$_major-$pkgname/ "$pkgdir"/usr/share/licenses/$pkgname
- msg2 "Enabling Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy..."
- # Replace default "strong", but limited, cryptography to get an "unlimited strength" one for
- # things like 256-bit AES. Enabled by default in OpenJDK:
- # - http://suhothayan.blogspot.com/2012/05/how-to-install-java-cryptography.html
- # - http://www.eyrie.org/~eagle/notes/debian/jce-policy.html
- sed -i "s/crypto.policy=limited/crypto.policy=unlimited/" "$pkgdir"/etc/java-$_jname/security/java.security
+ # msg2 "Enabling Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy..."
+ # # Replace default "strong", but limited, cryptography to get an "unlimited strength" one for
+ # # things like 256-bit AES. Enabled by default in OpenJDK:
+ # # - http://suhothayan.blogspot.com/2012/05/how-to-install-java-cryptography.html
+ # # - http://www.eyrie.org/~eagle/notes/debian/jce-policy.html
+ # sed -i "s/crypto.policy=limited/crypto.policy=unlimited/" "$pkgdir"/etc/java-$_jname/security/java.security
msg2 "Enabling copy+paste in unsigned applets..."
# Copy/paste from system clipboard to unsigned Java applets has been disabled since 6u24: