mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
Added OpenJRE7 from WithLinux to community
This commit is contained in:
parent
dc7b454848
commit
90fba3d7d9
2 changed files with 38 additions and 0 deletions
20
community/openjre7/PKGBUILD
Normal file
20
community/openjre7/PKGBUILD
Normal 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}/
|
||||
}
|
18
community/openjre7/openjre7.install
Normal file
18
community/openjre7/openjre7.install
Normal 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 $*
|
Loading…
Reference in a new issue