summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/jdk
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-01 23:46:36 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-01 23:46:36 (GMT)
commit3ccfc61093ef424b66bcca262809314ab786180b (patch)
tree3fe2a5ad87905cc5e4a91cfeafede737ae0b1b8b /abs/extra/community/jdk
parent9106406e65a0b18dc0d38d4a96cc7c43ceab3ad0 (diff)
downloadlinhes_pkgbuild-3ccfc61093ef424b66bcca262809314ab786180b.zip
linhes_pkgbuild-3ccfc61093ef424b66bcca262809314ab786180b.tar.gz
linhes_pkgbuild-3ccfc61093ef424b66bcca262809314ab786180b.tar.bz2
xorg-fonts-75dpi: recompile ... plus killing a redundant jdk
Diffstat (limited to 'abs/extra/community/jdk')
-rw-r--r--abs/extra/community/jdk/PKGBUILD50
-rw-r--r--abs/extra/community/jdk/jdk.install14
-rw-r--r--abs/extra/community/jdk/jdk.profile3
3 files changed, 0 insertions, 67 deletions
diff --git a/abs/extra/community/jdk/PKGBUILD b/abs/extra/community/jdk/PKGBUILD
deleted file mode 100644
index 31924ce..0000000
--- a/abs/extra/community/jdk/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
-# Previous Maintainer: Jason Chu <jason@archlinux.org>
-pkgname=jdk
-pkgver=6u12
-pkgrel=1
-pkgdesc="Sun's Java Development Kit"
-arch=(i686 x86_64)
- [ "${CARCH}" = "i686" ] && ARCH=i586
- [ "${CARCH}" = "x86_64" ] && ARCH=amd64
-url="http://java.sun.com"
-depends=('glibc' 'jre')
-install="jdk.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
- jdk.profile)
-[ "$CARCH" = "i686" ] && md5sums=('560a51cfeecc4918d01ca29abc858d52'
- '94065b612df0046d9ae758943f9f6a75'
- '1e937a8bbca36330f730fc17663e3625')
-[ "$CARCH" = "x86_64" ] && md5sums=('0f687b6dbfe54e117bb0d9e090fda20b'
- '94065b612df0046d9ae758943f9f6a75'
- '1e937a8bbca36330f730fc17663e3625')
-replaces=('j2sdk')
-conflicts=('java-environment' 'j2sdk')
-provides=('java-environment' 'j2sdk')
-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
-
- rm -rf linux-jdk/jre
-
- mkdir -p ${startdir}/pkg/opt
- mv linux-jdk ${startdir}/pkg/opt/java
-
- install -D -m755 ${startdir}/src/${pkgname}.profile ${startdir}/pkg/etc/profile.d/${pkgname}.sh
-
- mkdir -p $startdir/pkg/usr/share/licenses/jdk
- cp $startdir/pkg/opt/java/COPYRIGHT $startdir/pkg/usr/share/licenses/jdk
- cp $startdir/pkg/opt/java/LICENSE $startdir/pkg/usr/share/licenses/jdk
- cp $startdir/pkg/opt/java/THIRDPARTYLICENSEREADME.txt $startdir/pkg/usr/share/licenses/jdk
-}
diff --git a/abs/extra/community/jdk/jdk.install b/abs/extra/community/jdk/jdk.install
deleted file mode 100644
index 6fb8be5..0000000
--- a/abs/extra/community/jdk/jdk.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_upgrade() {
- post_install $1
-}
-
-post_install() {
- echo "The jdk package is licensed software."
- echo "You MUST read and agree to the license stored in"
- echo "/opt/java/LICENSE before using it."
-
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/community/jdk/jdk.profile b/abs/extra/community/jdk/jdk.profile
deleted file mode 100644
index b39d49c..0000000
--- a/abs/extra/community/jdk/jdk.profile
+++ /dev/null
@@ -1,3 +0,0 @@
-export J2SDKDIR=/opt/java
-export PATH=$PATH:/opt/java/bin
-export JAVA_HOME=/opt/java