summaryrefslogtreecommitdiff
path: root/extra/icedtea-web/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-08 00:04:17 +0000
committerroot <root@rshg054.dnsready.net>2012-09-08 00:04:17 +0000
commitc85b504e8916411d424cd3fc654ff879237d529e (patch)
tree3107088a155cd162c6fa050327d5f9f6a9c410d9 /extra/icedtea-web/PKGBUILD
parented51a8c1611ffa602f5f9628c858f6edbc218fc8 (diff)
Sat Sep 8 00:04:17 UTC 2012
Diffstat (limited to 'extra/icedtea-web/PKGBUILD')
-rw-r--r--extra/icedtea-web/PKGBUILD32
1 files changed, 18 insertions, 14 deletions
diff --git a/extra/icedtea-web/PKGBUILD b/extra/icedtea-web/PKGBUILD
index 1d90a13db..0d1537aba 100644
--- a/extra/icedtea-web/PKGBUILD
+++ b/extra/icedtea-web/PKGBUILD
@@ -1,30 +1,34 @@
-# $Id: PKGBUILD 164729 2012-08-04 08:45:39Z andyrtr $
+# $Id: PKGBUILD 166335 2012-09-06 15:46:37Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgbase=icedtea-web
pkgname=('icedtea-web' 'icedtea-web-doc')
-pkgver=1.2.1
-pkgrel=2
+pkgver=1.3
+pkgrel=1
arch=('i686' 'x86_64')
url="http://icedtea.classpath.org/wiki/IcedTea-Web"
license=('GPL2')
-makedepends=('openjdk6' 'zip' 'gtk2' 'npapi-sdk' 'rhino' 'junit')
-source=(http://icedtea.classpath.org/download/source/$pkgname-$pkgver.tar.gz
- fix_firefox_crash.diff)
-sha256sums=('134efcd429086a643ba03ec6e4da991527c3e5dfcd6ed6680a83824ad3f0cfd6'
- '9391182fe8631c9eaea93e0e5a1daf0e42658963596fe4fcbe1ba1afaf775af3')
+makedepends=('openjdk6' 'zip' 'gtk2' 'npapi-sdk' 'rhino' 'junit' 'firefox' 'chromium' 'epiphany')
+noextract=$pkgname-$pkgver.tar.gz # due to broken path names in the tarball that fails with LANG=C in our chroot
+source=(http://icedtea.classpath.org/download/source/$pkgname-$pkgver.tar.gz)
+sha256sums=('d46ec10700732cea103da2aae64ff01e717cb1281b83e1797ce48cc53280b49f')
_javaver=6
_jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ # extract it
+ cd "$srcdir"
+ LANG=en_US.UTF-8 bsdtar -x -f ${srcdir}/$pkgname-$pkgver.tar.gz
- # fix firefox crash - https://bugs.archlinux.org/task/30969
- patch -RNp1 -i ${srcdir}/fix_firefox_crash.diff
-
- ./configure --prefix=/usr/lib/jvm/java-6-openjdk \
- --datarootdir=/usr/share
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=${_jvmdir} \
+ --datarootdir=/usr/share \
+ --with-browser-tests \
+ --with-firefox=/usr/bin/firefox \
+ --with-chromium=/usr/bin/chromium \
+ --with-epiphany=/usr/bin/epiphany \
+ --with-gtk=2
make
}