summaryrefslogtreecommitdiffstats
path: root/main/java-common/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-06 08:15:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-06 08:15:31 +0000
commit2082dfdc7cbf088a359516e68c00094174b4e14d (patch)
tree47b4f2a776a04ede1445b88f3a82a31b3a882ba0 /main/java-common/APKBUILD
parent368dba765cda21cacba33c13b083dd3e563388c0 (diff)
downloadaports-2082dfdc7cbf088a359516e68c00094174b4e14d.tar.bz2
aports-2082dfdc7cbf088a359516e68c00094174b4e14d.tar.xz
main/java-common: moved from testing
needed by openjdk6
Diffstat (limited to 'main/java-common/APKBUILD')
-rw-r--r--main/java-common/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/java-common/APKBUILD b/main/java-common/APKBUILD
new file mode 100644
index 000000000..d5e3e4d38
--- /dev/null
+++ b/main/java-common/APKBUILD
@@ -0,0 +1,24 @@
+# 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)"
+url="http://git.alpinelinux.org/aports.git"
+arch="noarch"
+license="GPL2"
+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
+}
+