Added aur/openjdk6-debian

This commit is contained in:
Kevin Mihelich 2011-02-12 20:21:14 -05:00
parent 40789b26e5
commit a62848711a
2 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,44 @@
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# - This package uses Debian's armel openjdk6
plugrel=1
pkgname=openjdk6-debian
pkgver=6.b20pre1
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' 'openjdk6')
url="http://packages.debian.org/sid/openjdk-6-jre-zero"
install=(openjdk6-debian.install)
source=("http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b20~pre1-2_armel.deb"
"http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jdk_6b20~pre1-2_armel.deb"
"http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jre-lib_6b21~pre1-1_all.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
}
md5sums=('cc3dc3589774ede2371fc66695ebcb80'
'5887ac5a94b762678743ca2e6e55653c'
'f34f0b7163babd721fb298666c0176a6')

View file

@ -0,0 +1,11 @@
post_install() {
ln -sf /usr/lib/jvm/java-6-openjdk/bin/* /usr/bin
}
post_upgrade() {
post_install
}
op=$1
shift
$op $*