summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Bermond2019-03-26 20:34:37 +0000
committerDaniel Bermond2019-03-26 20:40:15 +0000
commit7615923f484d1627692cb9f64f46dd1a9468c69a (patch)
tree7ea827c7ebfe0a688243d120722238e149f5d969 /PKGBUILD
parent505d7c6f0af398eae7276b86613cb67281cd58ae (diff)
downloadaur-7615923f484d1627692cb9f64f46dd1a9468c69a.tar.gz
Updated to version 12
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a27ed232997..0959fdd5614 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
# Contributor: Det <nimetonmaili g-mail>
pkgname=jdk
-pkgver=11.0.2
-_build=9
-_hash=f51449fcd52f4d52b93a989c5c56ed3c
+pkgver=12
+_build=33
+_hash=312335d836a34c7c8bba9d963e26dc23
_majver="${pkgver%%.*}"
_next="$((_majver + 1))"
pkgrel=1
@@ -21,10 +21,10 @@ source=("https://download.oracle.com/otn-pub/java/jdk/${pkgver}+${_build}/${_has
'jshell.desktop'
'java_16.png'
'java_48.png')
-sha256sums=('7b4fd8ffcf53e9ff699d964a80e4abf9706b5bdb5644a765c2b96f99e3a2cdc8'
- '1052634cdcbf50ca14b864b58f3afa53de1706bdc9c593667c29974146212c54'
- '9a84d1b4dd969e867b2dbb6df0d0c44814729e0f1d0c61ab6c54d676eae83b3b'
- '73d686fd6e478a887a51451d7ada7c045f31ce299f65f45e50a793820ee99d85'
+sha256sums=('183d4d897bbf47bdae43b2bb4fc0465a9178209b5250555ac7fdb8fab6cc43a6'
+ '7b348c5f6b6ce7df7f849a90f0bdbbdb5a2d6236ec05e96e0b160755cf87fd69'
+ '74d52ebc46e1d6b104130c04209a9cf318163de022034239042a1981a6ffd60f'
+ 'd207bb3f4a55e329546d084d8b82b6c217177ff11ebcc85e6420b14b011b3cd1'
'd27fec1d74f7a3081c3d175ed184d15383666dc7f02cc0f7126f11549879c6ed'
'7cf8ca096e6d6e425b3434446b0835537d0fc7fe64b3ccba7a55f7bd86c7e176')
@@ -61,6 +61,15 @@ package() {
install -D -m644 "${srcdir}/java_16.png" "${pkgdir}/usr/share/icons/hicolor/16x16/apps/java${_majver}-jdk.png"
install -D -m644 "${srcdir}/java_48.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/java${_majver}-jdk.png"
+ # man pages
+ local _file
+ for _file in man/man1/*
+ do
+ install -D -m644 "$_file" "${pkgdir}/usr/share/${_file%.1}-jdk${_majver}.1"
+ done
+ rm "${pkgdir}/usr/share/man/man1/"{java,jjs,jrunscript,keytool,pack200}-jdk"${_majver}".1
+ rm "${pkgdir}/usr/share/man/man1/"{rmid,rmiregistry,unpack200}-jdk"${_majver}".1
+
# legal/licenses
cp -a legal/* "${pkgdir}/usr/share/licenses/${pkgname}"
ln -s "$pkgname" "${pkgdir}/usr/share/licenses/java${_majver}-${pkgname}"