diff options
Diffstat (limited to 'user/java-common/APKBUILD')
-rw-r--r-- | user/java-common/APKBUILD | 22 |
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 +} |