You are not logged in.
Offline
ok got jo gl......
gimme some time will soon have it done
Offline
okay here we go
#Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=jogl
pkgver=1.10
pkgrel=1
pkgdesc="Java openGL bindings"
url="http://ww2d.csoft.net"
depends=('j2re' 'mesa' )
makepedpends=()
source=(http://ww2d.csoft.net/files/JOGL-Inst-1.10.jar)
md5sums=('562c5fcbf302cfdcbec99731aec66f2a')
build() {
cd $startdir/src
mkdir -p $startdir/pkg/opt/java/jre/lib/ext
jar -xf JOGL-Inst-1.10.jar
mv jogl.jar $startdir/pkg/opt/java/jre/lib/ext
mv libjogl.so $startdir/pkg/opt/java/jre/lib/ext
}
then
#Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=ww2d
pkgver=0.99.87
pkgrel=1
pkgdesc="Java GL earthviewer"
url="http://ww2d.csoft.net"
depends=('j2re' 'mesa' 'jogl')
makepedpends=()
source=(http://ww2d.csoft.net/files/$pkgname-$pkgver.zip)
md5sums=('0bc522c42b22287b0400592a6dd7ff71')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/usr/share/ww2d
mkdir -p $startdir/pkg/usr/bin
mv 'Earth' 'Global' 'WW2D.jar' $startdir/pkg/usr/share/ww2d/
echo "java -jar /usr/share/ww2d/WW2D.jar" > $startdir/pkg/usr/bin/ww2d
chmod +x $startdir/pkg/usr/bin/ww2d
}
Offline
I voted for both 3 packages in AUR (ww2d-extra is the 3rd). thanks a lot and keep it up!
Offline
Your welcome!
Offline
It's not working here:
==> Making package: ww2d 0.99.87-1 (Mon Feb 13 21:54:43 CET 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Using local copy of ww2d-0.99.87.zip
==> Validating source files with MD5sums
ww2d-0.99.87.zip ... Passed
==> Extracting Sources...
==> unzip -qqo ww2d-0.99.87.zip
==> Removing existing pkg/ directory...
==> Starting build()...
./PKGBUILD: line 16: /usr/local/abs/ww2d/pkg/usr/: Is a directory
==> ERROR: Build Failed. Aborting...
/usr/local/abs/ww2d is where I put the pkgbuild and start "makepkg" from. It (the line) seems to be this:
echo "java -jar /usr/share/ww2d/WW2D.jar" > $startdir/pkg/usr/
Offline
you have to run it in directory that you have write access in
Offline
What do you mean? I have write access...
Offline
did you down load the tarball from aur or have you copied and pasted from a browser....
or just grab the pkgs from my repo
Offline
The ww2d PKGBUILD in this thread is missing a end of a line and some more lines.
The one in AUR doesn't have this problem.
Offline
fixed
Offline
OK, the one in AUR worked fine.
Offline