summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Windmüller2015-01-02 09:59:22 +0100
committerStephan Windmüller2015-01-02 09:59:22 +0100
commit319fa88ed22e21663cf5516f4770352fc676c84e (patch)
treebd8122a1b03795f99bf550bd317437a826312d5f
parent651498aa52f8832a70011fb388e52ec17c3b4cf1 (diff)
downloadaur-319fa88ed22e21663cf5516f4770352fc676c84e.tar.gz
Removing deprecated scripts, using archlinux-java instead
-rw-r--r--PKGBUILD9
1 files changed, 1 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 27ff5edcf40..cd95e0e8f57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,14 +31,6 @@ md5sums=('5cf7bb227abe2c16d34e8e9c84915291'
build() {
- if [ -f /etc/profile.d/openjdk6.sh ];
- then
- source /etc/profile.d/openjdk6.sh
- elif [ -f /etc/profile.d/jdk.sh ];
- then
- source /etc/profile.d/jdk.sh
- fi
-
cd ${srcdir}
mv Project-X/lib/PORTABLE Project-X_0.91.0/lib
mv Project-X/src/net/sourceforge/dvb/projectx/video/IDCTFast.java Project-X_0.91.0/src/net/sourceforge/dvb/projectx/video
@@ -49,6 +41,7 @@ build() {
sh ./build.sh
if [ ${_idct} != "none" ]; then
cd lib/PORTABLE/
+ export JAVA_HOME="/usr/lib/jvm/`archlinux-java get`/"
make clean
make PROJECTX_HOME=${srcdir}/Project-X_0.91.0 IDCT=${_idct} CPLAT="$CFLAGS -fPIC"
cd ${srcdir}/Project-X_0.91.0