CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
jdk: initial import
authorVictor Martinez <pitillo@ono.com>
Sun, 1 Dec 2019 12:39:47 +0000 (13:39 +0100)
committerVictor Martinez <pitillo@ono.com>
Sun, 1 Dec 2019 12:39:47 +0000 (13:39 +0100)
jdk/.footprint [new file with mode: 0644]
jdk/.signature [new file with mode: 0644]
jdk/Pkgfile [new file with mode: 0644]

diff --git a/jdk/.footprint b/jdk/.footprint
new file mode 100644 (file)
index 0000000..4275619
--- /dev/null
@@ -0,0 +1,248 @@
+drwxr-xr-x     root/root       etc/
+drwxr-xr-x     root/root       etc/revdep.d/
+-rw-r--r--     root/root       etc/revdep.d/jdk
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+lrwxrwxrwx     root/root       usr/bin/jar -> ../lib/jdk/bin/jar
+lrwxrwxrwx     root/root       usr/bin/java -> ../lib/jdk/bin/java
+lrwxrwxrwx     root/root       usr/bin/javac -> ../lib/jdk/bin/javac
+lrwxrwxrwx     root/root       usr/bin/javah -> ../lib/jdk/bin/javah
+lrwxrwxrwx     root/root       usr/bin/javap -> ../lib/jdk/bin/javap
+lrwxrwxrwx     root/root       usr/bin/keytool -> ../lib/jdk/bin/keytool
+drwxr-xr-x     root/root       usr/lib/
+lrwxrwxrwx     root/root       usr/lib/java -> jdk
+drwxr-xr-x     root/root       usr/lib/jdk/
+drwxr-xr-x     root/root       usr/lib/jdk/bin/
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/appletviewer
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/clhsdb
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/extcheck
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/hsdb
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/idlj
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jar
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jarsigner
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/java
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/java-rmi.cgi
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/javac
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/javadoc
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/javah
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/javap
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jcmd
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jconsole
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jdb
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jdeps
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jhat
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jinfo
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jjs
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jmap
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jps
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jrunscript
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jsadebugd
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jstack
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jstat
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/jstatd
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/keytool
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/native2ascii
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/orbd
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/pack200
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/policytool
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/rmic
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/rmid
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/rmiregistry
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/schemagen
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/serialver
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/servertool
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/tnameserv
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/unpack200
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/wsgen
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/wsimport
+-rwxr-xr-x     root/root       usr/lib/jdk/bin/xjc
+drwxr-xr-x     root/root       usr/lib/jdk/include/
+-rw-r--r--     root/root       usr/lib/jdk/include/classfile_constants.h
+-rw-r--r--     root/root       usr/lib/jdk/include/jawt.h
+-rw-r--r--     root/root       usr/lib/jdk/include/jdwpTransport.h
+-rw-r--r--     root/root       usr/lib/jdk/include/jni.h
+-rw-r--r--     root/root       usr/lib/jdk/include/jvmti.h
+-rw-r--r--     root/root       usr/lib/jdk/include/jvmticmlr.h
+drwxr-xr-x     root/root       usr/lib/jdk/include/linux/
+-rw-r--r--     root/root       usr/lib/jdk/include/linux/jawt_md.h
+-rw-r--r--     root/root       usr/lib/jdk/include/linux/jni_md.h
+drwxr-xr-x     root/root       usr/lib/jdk/jre/
+drwxr-xr-x     root/root       usr/lib/jdk/jre/bin/
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/java
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/jjs
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/keytool
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/orbd
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/pack200
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/policytool
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/rmid
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/rmiregistry
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/servertool
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/tnameserv
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/bin/unpack200
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/jli/
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/jli/libjli.so
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/aarch64/jvm.cfg
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libattach.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libawt.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libawt_headless.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libawt_xawt.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libdt_socket.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libfontmanager.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libhprof.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libinstrument.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libj2gss.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libj2pcsc.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libj2pkcs11.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjaas_unix.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjava.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjava_crw_demo.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjawt.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjdwp.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjpeg.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjsdt.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjsig.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjsound.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libjsoundalsa.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/liblcms.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libmanagement.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libmlib_image.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libnet.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libnio.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libnpt.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libsaproc.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libsctp.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libsplashscreen.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libsunec.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libunpack.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libverify.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/libzip.so
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/server/
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/aarch64/server/Xusage.txt
+lrwxrwxrwx     root/root       usr/lib/jdk/jre/lib/aarch64/server/libjsig.so -> ../libjsig.so
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/aarch64/server/libjvm.so
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/applet/
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/calendars.properties
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/charsets.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/classlist
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/cmm/
+-r--r--r--     root/root       usr/lib/jdk/jre/lib/cmm/CIEXYZ.pf
+-r--r--r--     root/root       usr/lib/jdk/jre/lib/cmm/GRAY.pf
+-r--r--r--     root/root       usr/lib/jdk/jre/lib/cmm/LINEAR_RGB.pf
+-r--r--r--     root/root       usr/lib/jdk/jre/lib/cmm/PYCC.pf
+-r--r--r--     root/root       usr/lib/jdk/jre/lib/cmm/sRGB.pf
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/content-types.properties
+-r--r--r--     root/root       usr/lib/jdk/jre/lib/currency.data
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/ext/
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/cldrdata.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/dnsns.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/jaccess.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/localedata.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/meta-index
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/nashorn.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/sunec.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/sunjce_provider.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/sunpkcs11.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/ext/zipfs.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/flavormap.properties
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/hijrah-config-umalqura.properties
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/images/
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/images/cursors/
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/images/cursors/cursors.properties
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/images/cursors/invalid32x32.gif
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/images/cursors/motif_CopyDrop32x32.gif
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/images/cursors/motif_CopyNoDrop32x32.gif
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/images/cursors/motif_LinkDrop32x32.gif
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/images/cursors/motif_LinkNoDrop32x32.gif
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/images/cursors/motif_MoveDrop32x32.gif
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/images/cursors/motif_MoveNoDrop32x32.gif
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/jce.jar
+-rwxr-xr-x     root/root       usr/lib/jdk/jre/lib/jexec
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/jsse.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/jvm.hprof.txt
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/logging.properties
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/management-agent.jar
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/management/
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/management/jmxremote.access
+-r--r--r--     root/root       usr/lib/jdk/jre/lib/management/jmxremote.password.template
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/management/management.properties
+-r--r--r--     root/root       usr/lib/jdk/jre/lib/management/snmp.acl.template
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/meta-index
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/net.properties
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/psfont.properties.ja
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/psfontj2d.properties
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/resources.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/rt.jar
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/security/
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/security/blacklisted.certs
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/security/cacerts
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/security/java.policy
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/security/java.security
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/security/policy/
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/security/policy/limited/
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/security/policy/limited/US_export_policy.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/security/policy/limited/local_policy.jar
+drwxr-xr-x     root/root       usr/lib/jdk/jre/lib/security/policy/unlimited/
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/security/policy/unlimited/US_export_policy.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/security/policy/unlimited/local_policy.jar
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/sound.properties
+-rw-r--r--     root/root       usr/lib/jdk/jre/lib/tzdb.dat
+drwxr-xr-x     root/root       usr/lib/jdk/lib/
+drwxr-xr-x     root/root       usr/lib/jdk/lib/aarch64/
+drwxr-xr-x     root/root       usr/lib/jdk/lib/aarch64/jli/
+-rwxr-xr-x     root/root       usr/lib/jdk/lib/aarch64/jli/libjli.so
+-rwxr-xr-x     root/root       usr/lib/jdk/lib/aarch64/libjawt.so
+-rw-r--r--     root/root       usr/lib/jdk/lib/ct.sym
+-rw-r--r--     root/root       usr/lib/jdk/lib/dt.jar
+-rw-r--r--     root/root       usr/lib/jdk/lib/ir.idl
+-rw-r--r--     root/root       usr/lib/jdk/lib/jconsole.jar
+-rwxr-xr-x     root/root       usr/lib/jdk/lib/jexec
+-rw-r--r--     root/root       usr/lib/jdk/lib/orb.idl
+-rw-r--r--     root/root       usr/lib/jdk/lib/sa-jdi.jar
+-rw-r--r--     root/root       usr/lib/jdk/lib/tools.jar
+-rw-r--r--     root/root       usr/lib/jdk/src.zip
+-rw-r--r--     root/root       usr/lib/jdk/version.txt
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/man/
+drwxr-xr-x     root/root       usr/share/man/man1/
+-rw-r--r--     root/root       usr/share/man/man1/appletviewer.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/extcheck.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/idlj.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jar.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jarsigner.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/java.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/javac.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/javadoc.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/javah.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/javap.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jcmd.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jconsole.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jdb.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jdeps.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jhat.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jinfo.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jjs.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jmap.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jps.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jrunscript.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jsadebugd.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jstack.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jstat.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/jstatd.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/keytool.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/native2ascii.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/orbd.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/pack200.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/policytool.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/rmic.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/rmid.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/rmiregistry.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/schemagen.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/serialver.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/servertool.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/tnameserv.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/unpack200.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/wsgen.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/wsimport.1.gz
+-rw-r--r--     root/root       usr/share/man/man1/xjc.1.gz
diff --git a/jdk/.signature b/jdk/.signature
new file mode 100644 (file)
index 0000000..3fefd9f
--- /dev/null
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/opt-arm64.pub
+RWRitF9a2DJqMSCPEzwdZd+k1XM2r4PFBQbE5xBP6KbnXk0BwP7JF+58ni6fZlAAGnfiWI9lUsojEeIgw5mLYgYJM8J/kXL75Qw=
+SHA256 (Pkgfile) = c0c31fc4cab0f8df767a00dd2f32b089e6daca7e8e3665828f20a41e0390f124
+SHA256 (.footprint) = 6eba5ee06ddb3580f2bda9c67754717b17e1ea8810d918bdfc3bc69b5eecf978
+SHA256 (java-1.8.0-amazon-corretto-devel-1.8.0_232.b09-1.aarch64.rpm) = 8a68b4ccd33b76040cc15936ffef1bbb4e848f826b298d2ec2ddeeb37a613008
diff --git a/jdk/Pkgfile b/jdk/Pkgfile
new file mode 100644 (file)
index 0000000..8a3a0a2
--- /dev/null
@@ -0,0 +1,36 @@
+# Description: Java 8 Software Development Kit (amazon-corretto)
+# URL:         https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/what-is-corretto-8.html
+# Maintainer:  CRUX System Team, core-ports at crux dot nu
+# Depends on:  util-linux gtk alsa-lib
+
+name=jdk
+version=8.232.09.1
+release=1
+# https://github.com/corretto/corretto-8/releases
+source=(https://d3pxv6yz143wms.cloudfront.net/$version/java-1.8.0-amazon-corretto-devel-1.8.0_232.b09-1.aarch64.rpm)
+
+build(){
+    cd $SRC/usr/lib/jvm/java-1.8.0-amazon-corretto
+
+    # cleanup
+    rm {.,jre}/{ASSEMBLY_EXCEPTION,LICENSE,THIRD_PARTY_README}
+    chmod -R o-w,g-w .
+
+    # install
+    install -d $PKG/usr/{bin,lib/jdk,share/man}
+    mv man $PKG/usr/share/
+    mv *   $PKG/usr/lib/jdk/
+
+    # symlinks
+    ln -s jdk $PKG/usr/lib/java
+    ln -s ../lib/jdk/bin/java    $PKG/usr/bin/java
+    ln -s ../lib/jdk/bin/javac   $PKG/usr/bin/javac
+    ln -s ../lib/jdk/bin/javah   $PKG/usr/bin/javah
+    ln -s ../lib/jdk/bin/javap   $PKG/usr/bin/javap
+    ln -s ../lib/jdk/bin/jar     $PKG/usr/bin/jar
+    ln -s ../lib/jdk/bin/keytool $PKG/usr/bin/keytool
+
+    # revdep
+    install -d $PKG/etc/revdep.d
+    printf '%s\n%s\n%s\n' /usr/lib/jdk/{lib/amd64,jre/lib/amd64{,/server}} > $PKG/etc/revdep.d/jdk
+}