summaryrefslogtreecommitdiff
path: root/user/java-common/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-26 19:59:11 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-26 20:10:47 +0000
commitd71ae2f9370d6d61af17b9e922e44476b3b5e261 (patch)
treee2eeaf03eac04738051e51165ad4901140a0b4a9 /user/java-common/APKBUILD
parent3ca1b80226ab3a45e9173e15ff3b84e8cb855e9c (diff)
downloadpackages-d71ae2f9370d6d61af17b9e922e44476b3b5e261.tar.gz
packages-d71ae2f9370d6d61af17b9e922e44476b3b5e261.tar.bz2
packages-d71ae2f9370d6d61af17b9e922e44476b3b5e261.tar.xz
packages-d71ae2f9370d6d61af17b9e922e44476b3b5e261.zip
user/java-common: new package
Diffstat (limited to 'user/java-common/APKBUILD')
-rw-r--r--user/java-common/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/user/java-common/APKBUILD b/user/java-common/APKBUILD
new file mode 100644
index 000000000..12259b209
--- /dev/null
+++ b/user/java-common/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=java-common
+pkgver=6
+pkgrel=0
+pkgdesc="Default Java runtime binary symlinks"
+url=" "
+arch="noarch"
+options="!check" # Symlinks only.
+license="Public-Domain"
+depends=""
+makedepends=""
+subpackages=""
+source=""
+triggers="java-common.trigger=/usr/lib/jvm"
+
+package() {
+ mkdir -p "$pkgdir"/usr/bin
+ ln -sf ../lib/jvm/default-jvm/jre/bin/java "$pkgdir"/usr/bin
+ ln -sf ../lib/jvm/default-jvm/jre/bin/rmiregistry "$pkgdir"/usr/bin
+ ln -sf ../lib/jvm/default-jvm/jre/bin/keytool "$pkgdir"/usr/bin
+ ln -sf ../lib/jvm/default-jvm/bin/appletviewer "$pkgdir"/usr/bin
+}