APKBUILD 696 Bytes
Newer Older
Timo Teräs's avatar
Timo Teräs committed
1 2 3 4 5 6
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=java-common
pkgver=0.1
pkgrel=0
pkgdesc="Java common (updates java links)"
7
url="https://git.alpinelinux.org/aports.git"
Timo Teräs's avatar
Timo Teräs committed
8
arch="noarch"
A. Wilcox's avatar
A. Wilcox committed
9
options="!check"  # Symlinks only.
10
license="GPL-2.0"
Timo Teräs's avatar
Timo Teräs committed
11 12 13 14 15
depends=
makedepends=""
install=""
subpackages=""
source=""
16
triggers="java-common.trigger=/usr/lib/jvm"
Timo Teräs's avatar
Timo Teräs committed
17 18 19 20 21 22 23 24 25

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
}