updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bin32-icedtea-web / PKGBUILD
blobeba5dc4967fa0c25c5e512db76ef3a4888a9a726
1 # Maintainer: c0nd0r <gcesarmza@gmail.com>
2 pkgname=bin32-icedtea-web
3 pkgver=1.1.4
4 pkgrel=2
5 pkgdesc="Provides a Free Software 32-bit web browser plugin running applets written in the Java programming language and an implementation of Java Web Start, originally based on the NetX project, for Arch x86_64"
6 arch=('x86_64')
7 license=('custom')
8 url="http://www.java.net"
9 depends=('bin32-openjdk6' 'lib32-gtk2' )
10 #Replace this with the mirror you prefer
11 mirror="http://cake.lib.fit.edu/archlinux" 
12 source=(${mirror}/extra/os/i686/${pkgname:6}-$pkgver-$pkgrel-i686.pkg.tar.xz)
14 md5sums=('b13e6b65639e0a6b4cc3d05140a53299')
16 build() {
17   cd ${startdir}/src
18   mv usr $pkgdir
19   cd $pkgdir/usr
20   mv lib lib32
21   rm -rf bin
22   rm -rf lib32/mozilla
23   rm -rf share
24   cd lib32/jvm/java-6-openjdk/jre/bin
25   rm *
26   ln -s ../../bin/itweb-settings
27   ln -s ../../bin/javaws
28   mkdir -p $pkgdir/opt/mozilla/lib/plugins
29   cd $pkgdir/opt/mozilla/lib/plugins
30   ln -s ../../../../usr/lib32/jvm/java-6-openjdk/lib/IcedTeaPlugin.so