Added openjdk6-debian

This commit is contained in:
Mike Staszel 2010-09-29 19:59:56 +00:00
parent 6f20e2cee4
commit 11220accad
3 changed files with 41 additions and 2 deletions

View file

@ -0,0 +1,39 @@
pkgname=openjdk6-debian
pkgver=6.b18_1.8.1
pkgrel=1
pkgdesc="Debian's package of OpenJDK6, including the Zero and Shark VMs"
depends=('glibc' 'gcc-libs')
makedepends=()
conflicts=('java-environment' 'java-runtime')
provides=('java-environment=6' 'java-runtime=6')
url="http://packages.debian.org/sid/openjdk-6-jre-zero"
source=("http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b18-1.8.1-2_armel.deb"
"http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jre-zero_6b18-1.8.1-2_armel.deb"
"http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jdk_6b18-1.8.1-2_armel.deb")
arch=('arm')
license="GPLv2"
build() {
ar x `basename ${source[0]}`
tar xf data.tar.gz -C ${pkgdir}
ar x `basename ${source[0]}`
tar xf data.tar.gz -C ${pkgdir}
ar x `basename ${source[1]}`
tar xf data.tar.gz -C ${pkgdir}
ar x `basename ${source[1]}`
tar xf data.tar.gz -C ${pkgdir}
ar x `basename ${source[2]}`
tar xf data.tar.gz -C ${pkgdir}
ar x `basename ${source[2]}`
tar xf data.tar.gz -C ${pkgdir}
rm -rf ${pkgdir}/usr/share/lintian
mkdir -p ${pkgdir}/usr/bin
ln -s ${pkgdir}/usr/lib/jvm/java-6-openjdk/bin/* ${pkgdir}/usr/bin
}
md5sums=('f6675141307f8c8032c3f37b5378fb89'
'dadcce59369b02d1ee075b2c254b2fa0'
'8dd55f57d788dcee520eb40c889ff5a0')

View file

@ -2,7 +2,7 @@
pkgname=openjre7
pkgver=7b86
pkgrel=1
pkgrel=2
pkgdesc="OpenJRE from WithLinux"
arch=('arm')
license=('GPL2')

View file

@ -1,6 +1,6 @@
post_install() {
echo -e "\033[1mNotice\033[0m"
echo "Add /opt/openjre/bin to your PATH"
echo "Add /opt/openjre7/bin to your PATH."
echo ""
}