summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-13 23:48:26 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-13 23:48:26 (GMT)
commit8d013a336bc2febe6933df1c60b796744a94fb02 (patch)
tree61a274fb5beef717bac06de41187d187301586ad /abs/extra-testing
parentba38d110a556bc739c6306b4ecdb0c2765d15deb (diff)
downloadlinhes_pkgbuild-8d013a336bc2febe6933df1c60b796744a94fb02.zip
linhes_pkgbuild-8d013a336bc2febe6933df1c60b796744a94fb02.tar.gz
linhes_pkgbuild-8d013a336bc2febe6933df1c60b796744a94fb02.tar.bz2
projectx:version bump.
Diffstat (limited to 'abs/extra-testing')
-rw-r--r--abs/extra-testing/community/projectx/PKGBUILD24
-rw-r--r--abs/extra-testing/community/projectx/projectx11
2 files changed, 15 insertions, 20 deletions
diff --git a/abs/extra-testing/community/projectx/PKGBUILD b/abs/extra-testing/community/projectx/PKGBUILD
index 65b70b8..62092a4 100644
--- a/abs/extra-testing/community/projectx/PKGBUILD
+++ b/abs/extra-testing/community/projectx/PKGBUILD
@@ -2,36 +2,37 @@
pkgname=projectx
pkgver=0.90.4.00
-pkgrel=7
+pkgrel=8
license=('GPL')
arch=('i686' 'x86_64')
pkgdesc="DVB demux tool for repairing and analyzing different stream types"
-makedepends=('jdk')
-depends=('jre')
+makedepends=('java-environment')
+depends=('java-runtime')
url="http://sourceforge.net/projects/project-x"
source=(http://dl.sourceforge.net/sourceforge/project-x/ProjectX_Source_eng_$pkgver.zip \
http://dl.sourceforge.net/sourceforge/project-x/ProjectX_LanguagePack_$pkgver.zip \
projectx)
+
md5sums=('92d7b5aea50b8811307f27b6e01ceb5c'
'edfe8d04bd3d403eec4d9e27d1b976d2'
- '60c3056d1051eb174ec63a4039ad40ff')
+ '0c88b15884a0c997e3386d15e207cd30')
build() {
cd $startdir/src/ProjectX_Source_0.90.4
sed -i 's,^Exec=.*,Exec=projectx,' projectx.desktop
- if [ -z "$J2SDKDIR" ] ; then
- . /etc/profile.d/jdk.sh
- fi
-
mkdir -p build
javac -encoding "ISO-8859-1" -O -g:none \
-classpath lib/commons-net-1.3.0.jar:lib/jakarta-oro-2.0.8.jar \
-d build @sources.lst || return 1
- cp resources/* ./build
+ mv resources/* ./build
+ sed -i -e 's/ReleaseNotes_0.90.1.txt/ReleaseNotes_0.90.4.txt/' htmls/index.html
+ mv htmls build
+ mv ReadMe.txt build
+ mv ReleaseNotes_0.90.4.txt build
jar cvfm ProjectX.jar MANIFEST.MF -C build .
install -D -m0755 $startdir/projectx $startdir/pkg/usr/bin/projectx
@@ -41,9 +42,4 @@ build() {
install -D -m0644 lib/jakarta-oro-2.0.8.jar \
$startdir/pkg/opt/projectx/lib/jakarta-oro-2.0.8.jar
install -D -m0644 projectx.desktop $startdir/pkg/usr/share/applications/projectx.desktop
- for file in ReadMe.txt ReleaseNotes_0.90.4.00.txt ReleaseNotes_0.90.4.txt $( find htmls -type f ) ;
- do
- install -D $file $startdir/pkg/opt/projectx/$file
- done
-
}
diff --git a/abs/extra-testing/community/projectx/projectx b/abs/extra-testing/community/projectx/projectx
index 904e834..1d540bc 100644
--- a/abs/extra-testing/community/projectx/projectx
+++ b/abs/extra-testing/community/projectx/projectx
@@ -1,11 +1,10 @@
#!/bin/sh
-# ProjectX GUI allways looks at $(pwd)/html/index.html
-# for its help file
-if [ "$#" -eq 0 ] ; then
-mkdir -p ~/.projectx
-cd ~/.projectx &&
-ln -s /opt/projectx/htmls .
+if [ ! -d ~/.projectx ] ; then
+ mkdir ~/.projectx
fi
+if [ "$#" -eq 0 ] ; then
+ cd ~/.projectx
+fi
java -jar /opt/projectx/ProjectX.jar "$@"