summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/jre
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra/community/jre
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra/community/jre')
-rw-r--r--abs/extra/community/jre/PKGBUILD58
-rw-r--r--abs/extra/community/jre/jre.install26
-rw-r--r--abs/extra/community/jre/jre.profile4
3 files changed, 0 insertions, 88 deletions
diff --git a/abs/extra/community/jre/PKGBUILD b/abs/extra/community/jre/PKGBUILD
deleted file mode 100644
index cd9a932..0000000
--- a/abs/extra/community/jre/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# $Id: PKGBUILD,v 1.6 2009/06/01 19:10:05 wonder Exp $
-# Maintainer: Jason Chu <jason@archlinux.org>
-
-pkgname=jre
-pkgver=6u14
-pkgrel=1
-pkgdesc="Sun's java runtime environment"
-arch=('i686' 'x86_64')
- [ "$CARCH" = "i686" ] && _arch=i586
- [ "$CARCH" = "x86_64" ] && _arch=amd64
-url="http://java.sun.com"
-depends=('glibc' 'libxtst')
-install="jre.install"
-source=(http://download.java.net/dlj/binaries/jdk-$pkgver-dlj-linux-$_arch.bin
- https://jdk-distros.dev.java.net/source/browse/*checkout*/jdk-distros/trunk/utils/construct.sh
- jre.profile)
-[ "$CARCH" = "i686" ] && md5sums=('299c445e4b14bfbb2a05323734d89c0c'
- '94065b612df0046d9ae758943f9f6a75'
- '50b4f5ac4129097461d246645d73a622')
-[ "$CARCH" = "x86_64" ] && md5sums=('6e866db04748296fc34ed83a92420403'
- '94065b612df0046d9ae758943f9f6a75'
- '50b4f5ac4129097461d246645d73a622')
-
-
-replaces=('j2re')
-conflicts=('j2re' 'java-runtime')
-provides=('j2re' 'java-runtime=6')
-license=('custom')
-
-build() {
- cd $startdir/src
-
- mkdir unbundle-jdk
- cd unbundle-jdk
-
- sh ../jdk-$pkgver-dlj-linux-$_arch.bin --accept-license
-
- cd ..
-
- sh construct.sh unbundle-jdk linux-jdk linux-jre
-
- mkdir -p $startdir/pkg/opt/java
- mv linux-jdk/jre $startdir/pkg/opt/java
-
- install -D -m755 $startdir/src/${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh
-
- mkdir -p $startdir/pkg/usr/lib/mozilla/plugins
-
- if [ "$CARCH" = "i686" ]; then
- ln -s /opt/java/jre/lib/i386/libnpjp2.so $startdir/pkg/usr/lib/mozilla/plugins
- else ln -s /opt/java/jre/lib/amd64/libnpjp2.so $startdir/pkg/usr/lib/mozilla/plugins
- fi
-
- mkdir -p $startdir/pkg/usr/share/licenses/jre
- cp $startdir/pkg/opt/java/jre/COPYRIGHT $startdir/pkg/usr/share/licenses/jre
- cp $startdir/pkg/opt/java/jre/LICENSE $startdir/pkg/usr/share/licenses/jre
- cp $startdir/pkg/opt/java/jre/THIRDPARTYLICENSEREADME.txt $startdir/pkg/usr/share/licenses/jre
-}
diff --git a/abs/extra/community/jre/jre.install b/abs/extra/community/jre/jre.install
deleted file mode 100644
index 4e557a7..0000000
--- a/abs/extra/community/jre/jre.install
+++ /dev/null
@@ -1,26 +0,0 @@
-post_upgrade() {
- post_install $1
-}
-
-post_install() {
- echo "The jre package is licensed software."
- echo "You MUST read and agree to the license stored in"
- echo "/opt/java/jre/LICENSE before using it."
- if [ -f /etc/mailcap ] ; then
- sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap
- fi
- echo 'application/x-java-jnlp-file;/opt/java/jre/bin/javaws %s' >>/etc/mailcap
-}
-
-post_remove() {
- mailcap=$(grep -v 'application/x-java-jnlp-file' /etc/mailcap)
- if [ "$mailcap" != "" ] ; then
- sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap
- else
- rm /etc/mailcap
- fi
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/community/jre/jre.profile b/abs/extra/community/jre/jre.profile
deleted file mode 100644
index af3e373..0000000
--- a/abs/extra/community/jre/jre.profile
+++ /dev/null
@@ -1,4 +0,0 @@
-export PATH=$PATH:/opt/java/jre/bin
-if [ ! -f /etc/profile.d/jdk.sh ]; then
- export JAVA_HOME=/opt/java/jre
-fi