aboutsummaryrefslogblamecommitdiffstats
path: root/main/java-common/APKBUILD
blob: 204b62ed3df4461790644cfade781293870d2887 (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.2
pkgrel=0
pkgdesc="Java common (updates java links)"
url="https://git.alpinelinux.org/aports.git"
arch="noarch"
options="!check"  # Symlinks only.
license="GPL-2.0"
depends=
makedepends=""
install=""
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
}