You are not logged in.
jAOLT allows you to create and organise auctions for eBay and AuVito offline. I would use it as a eBay Turbo Lister replacement.
Here's my incomplete PKGBUILD (my first attempt at one):
# Contributor: Gladstone <h2oz7v+arch@gmail.com>
pkgname=jaolt
pkgver=0.4.7-noarch-463
pkgrel=1
pkgdesc="Create and organise auctions for eBay and AuVito offline"
arch=('i686')
url="http://code.google.com/p/jaolt/"
license=('GPL')
depends=('java-runtime')
makedepends=('apache-ant')
source=(http://jaolt.googlecode.com/files/$pkgname_$pkgver.tar.gz)
md5sums=()
build() {
cd $srcdir/$pkgname-$pkgver
# TODO
#ant
}The INSTALLING file in the .tar.gz tells me to use ant to build it, however I'm not sure how to specify the prefix as /usr.
Have been referring to tuxguitar-svn's PKGBUILD and corresponding build.properties file, but don't feel confident enough with it.
Last edited by gladstone (2009-07-08 16:21:08)
Offline
I don't know much about ant, but whoever wrote the build.xml file didn't know more...
In other words I took a big stick and prodded it until it worked, somewhat... It still looks like a piece of crap though.
For some reason the start script tries to call chmod 777 on all files in /var/lib/jaolt/auctionplatforms, which of cause fails for the file installed there which belongs to root...
Somehow it seems saner to me to take the zip file, extract it to $HOME/jaolt and run java -jar $HOME/jaolt/launcher.jar
In case you really want to install it systemwide (I did warn you):
pkgname=jaolt
pkgver=0.4.7_noarch_463
_pkgver=${pkgver//_/-}
pkgrel=1
pkgdesc="Create and organise auctions for eBay and AuVito offline"
arch=('i686')
url="http://code.google.com/p/jaolt/"
license=('GPL')
depends=('java-runtime')
makedepends=('apache-ant')
source=(http://jaolt.googlecode.com/files/${pkgname}_$_pkgver.tar.gz
build.xml)
md5sums=('a8837922cce8faeb6180a64bb82ae27e'
'007a88d1bbecc3aa63050a57139f2ff5')
build() {
cd $srcdir/$pkgname
sed "s|@PKGDIR@|$pkgdir|g" $srcdir/build.xml > build.xml
ant
}Btw license=('GPL') is rather optimistic, if you are interested in the gory details take a look at license-instructions.txt .
and the slightly modified build.xml
<?xml version="1.0"?>
<project basedir="." default="install" name="Install-routine for *NIX systems">
<target name="install">
<copy toDir="@PKGDIR@/usr/share/jaolt">
<fileset dir=".">
<include name="lib/**"/>
<include name="plugins/**"/>
<include name="data/languages/*.xml"/>
<include name="*.txt"/>
<include name="*.jar"/>
<include name="NOTICE"/>
</fileset>
</copy>
<copy toDir="@PKGDIR@/var/lib/jaolt">
<fileset dir="data">
<include name="auctionplatforms"/>
<include name="auctionplatforms/empty"/>
<include name="templates/**"/>
</fileset>
</copy>
<copy file="jaolt.desktop" toDir="@PKGDIR@/usr/share/applications"/>
<copy file="jaolt.xpm" toDir="@PKGDIR@/usr/share/pixmaps"/>
<copy file="jaolt" toDir="@PKGDIR@/usr/bin"/>
<exec executable="chmod" spawn="false">
<arg line="-R 777 @PKGDIR@/var/lib/jaolt/auctionplatforms"/>
</exec>
<exec executable="chmod" spawn="false">
<arg line="+x @PKGDIR@/usr/bin/jaolt"/>
</exec>
</target>
</project>There are saner ways to do this (among them just using install in the PKGBUILD to copy the files appropriately) but I am to lazy
.
Offline
Thanks, I'll probably take your advice and just run it directly from the .jar file. In the meantime, I'll ask the devs if it can be managed differently.
Last edited by gladstone (2009-07-08 22:58:34)
Offline