Added OpenJRE7 from WithLinux to community

This commit is contained in:
Mike Staszel 2010-09-28 20:11:04 +00:00
parent dc7b454848
commit 90fba3d7d9
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,20 @@
# Maintainer: Mike Staszel <mikestaszel@gmail.com>
pkgname=openjre7
pkgver=7b86
pkgrel=1
pkgdesc="OpenJRE from WithLinux"
arch=('arm')
license=('GPL2')
url="unknown"
depends=('libffi')
makedepends=('xz')
provides=('java-runtime')
install=openjre7.install
source=(http://sheeva.with-linux.com/sheeva/java/$pkgname-$pkgver-armv5tel.txz)
md5sums=('d1820d7f0b4bfed65c0d0e541f670e7f')
build() {
cd ${srcdir}/
cp -R ${srcdir}/opt ${pkgdir}/
}

View file

@ -0,0 +1,18 @@
post_install() {
echo -e "\033[1mNotice\033[0m"
echo "Add /opt/openjre/bin to your PATH, e.g."
echo "export PATH=$PATH:/opt/openjre7/bin"
echo ""
}
post_upgrade() {
post_install
}
post_remove() {
KERNEL_VERSION=.*
}
op=$1
shift
$op $*