summaryrefslogtreecommitdiff
path: root/user/java-common/APKBUILD
blob: 12259b2094d0bfd48f2f887e8bd66f428d6b8c9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}