Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

bin32-jre 7u7 PKGBUILD

By: a guest on Sep 18th, 2012  |  syntax: None  |  size: 1.19 KB  |  hits: 275  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.     pkgname=bin32-jre
  2.     pkgver=7u7
  3.     pkgrel=1
  4.     pkgdesc="32-bit Sun java with the new mozilla plugin for Arch x86_64"
  5.     arch=('x86_64')
  6.     _arch=i386
  7.     license=('custom')
  8.     url="https://jdk6.dev.java.net"
  9.     depends=('lib32-glibc' 'lib32-libgl' 'lib32-libx11' 'lib32-libxtst'
  10.     'mozilla-common' 'lib32-libxi')
  11.     makedepends=('diffutils' 'fakeroot' 'pkgconfig')
  12.     install=bin32-jre.install
  13.     bin32name=jdk-${pkgver}-dlj-linux-i586
  14.     source=("$bin32name.tar.gz::http://javadl.sun.com/webapps/download/AutoDL?BundleId=68234"
  15.             'java-policy-settings.desktop'
  16.             'jre.sh'
  17.             'jre.csh'
  18.             'javaws-launcher')
  19.     md5sums=('ea99bedd9db33e9e2970f4b70abd1e4b'
  20.              '6614b04176b9b7dfe26f22e9ce846801'
  21.              '7cd3dc10e7a37468cad4053a067dcd01'
  22.              'cc90df2df6fe80fab885a80036d420a1'
  23.              '45c15a6b4767288f2f745598455ea2bf')
  24.      
  25.     package() {
  26.       # Create required dirs
  27.       cd $(ls -1d jre1.7.0_*/ | tail -1)
  28.       mkdir -p "$pkgdir"/opt/bin32-jre/
  29.      
  30.       # Remove empty and redundant dirs from 'lib'
  31.       rm -r plugin
  32.      
  33.       # Move stuff in place
  34.       mv * "$pkgdir"/opt/bin32-jre/
  35.     }