summaryrefslogblamecommitdiff
path: root/user/java-common/APKBUILD
blob: f285c99602ec8c1eedd6c39da3f32cac1253882d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
        
        



                                              
                                                 
              
                                           
                   





                                                                           
                                                                             
 
                                                                                                                                                         
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=java-common
pkgver=7
pkgrel=1
pkgdesc="Default Java runtime binary symlinks"
url=" "
arch="noarch"
options="!check"  # Symlinks only.
license="Public-Domain"
depends="nss"  # for TLS, needed by all OpenJDKs.
makedepends=""
subpackages=""
triggers="java-common.trigger=/usr/lib/jvm"
source="java.profd"

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

	install -D -m755 "$srcdir"/java.profd "$pkgdir"/etc/profile.d/java.sh
}
sha512sums="4c535555a89609988fbd379d4ef7c72d04eb8b88aed3c999a65e957196196c14733377b24f98b1ee0ae83f0cd43f55ab626ab073c1b30f478fb514bfc71cf641  java.profd"