1 # Maintainer: Max Roder <maxroder@web.de>
7 pkgdesc='Java auction management tool for ebay, auvito and hood'
9 url='http://code.google.com/p/jaolt/'
10 license=('LGPL' 'CDDL' 'APACHE' 'BSD' 'CCPL:by' 'custom:H2' 'custom:jdom' 'custom:jgoodies')
11 depends=('java-environment' 'bash')
12 conflicts=('jaolt-svn')
13 source=("http://jaolt.googlecode.com/files/${pkgname}_${pkgver}-noarch-${_revision}.tar.gz")
14 sha256sums=('4e5d15ae3e9a5b64d80b5f4a73bbc1d9fb06ca7f81893ef6bc20e827c7639e80')
17 cd ${srcdir}/${pkgname}
20 sed -i 's/jaolt\/launcher.jar/java\/jaolt\/launcher.jar/g' jaolt
21 install -Dm755 jaolt ${pkgdir}/usr/bin/jaolt
24 install -d ${pkgdir}/usr/share/licenses/jaolt
25 mv license-instructions.txt ${pkgdir}/usr/share/licenses/jaolt/readme
26 mv jgoodies-uiflite.txt ${pkgdir}/usr/share/licenses/jaolt/LICENSE.jgoodies-uiflite
27 mv h2.txt ${pkgdir}/usr/share/licenses/jaolt/LICENSE.h2
28 mv jdom.txt ${pkgdir}/usr/share/licenses/jaolt/LICENSE.jdom
29 mv jgoodies-forms.txt ${pkgdir}/usr/share/licenses/jaolt/LICENSE.jgoodies-forms
30 mv jgoodies-looks.txt ${pkgdir}/usr/share/licenses/jaolt/LICENSE.jgoodies-looks
33 install -d ${pkgdir}/usr/share/java/jaolt/ ${pkgdir}/usr/share/applications/ ${pkgdir}/usr/share/pixmaps/
34 mv jaolt.desktop ${pkgdir}/usr/share/applications/
35 mv jaolt.xpm ${pkgdir}/usr/share/pixmaps/
37 # Remove unnecessary files, copy anything else
38 rm -rf build.xml lgpl.txt INSTALLING jaolt
39 cp -r * ${pkgdir}/usr/share/java/jaolt/
42 # vim:set ts=2 sw=2 et: