mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
Added openjdk6-debian
This commit is contained in:
parent
6f20e2cee4
commit
11220accad
3 changed files with 41 additions and 2 deletions
39
community/openjdk6-debian/PKGBUILD
Normal file
39
community/openjdk6-debian/PKGBUILD
Normal 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')
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=openjre7
|
||||
pkgver=7b86
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="OpenJRE from WithLinux"
|
||||
arch=('arm')
|
||||
license=('GPL2')
|
||||
|
|
|
@ -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 ""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue