PKGBUILDs/community/openjdk6-debian/PKGBUILD
Mike Staszel 2df80de9b2 openjdk
2010-10-18 12:55:49 -05:00

39 lines
1.4 KiB
Bash

pkgname=openjdk6-debian
pkgver=6.b18_1.8.1
pkgrel=2
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' 'openjdk6')
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')