aboutsummaryrefslogblamecommitdiffstats
path: root/community/java-common/APKBUILD
blob: a412be6efc8c502ca2742ad50f3bde96656cc9ab (plain) (tree)
1
2
3
4
5
6
7
8
9


                                             
          

                                          
                                         
             
                                  
                          
                                           


                                  


                                                                                                                                                                                                                                                              
 
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=java-common
pkgver=0.4
pkgrel=0
pkgdesc="Java common (updates java links)"
url="https://git.alpinelinux.org/aports/"
arch="noarch"
options="!check"  # Symlinks only.
license="GPL-2.0-or-later"
triggers="java-common.trigger=/usr/lib/jvm"

package() {
	mkdir -p "$pkgdir"/usr/bin
	for exe in jaotc jar jarsigner java javac javadoc javap jcmd jdb jdeprscan jdeps jexec jexec-binfmt jfr jhsdb jimage jinfo jjs jlink jmap jmod jps jrunscript jshell jstack jstat jstatd keytool pack200 rmic rmid rmiregistry serialver unpack200; do
		ln -sf ../lib/jvm/default-jvm/jre/bin/$exe "$pkgdir"/usr/bin
	done
}