updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / jaolt / PKGBUILD
blob4eb29ef5805a5211691eeccfea86f4e00936304c
1 # Maintainer: Max Roder <maxroder@web.de>
3 pkgname='jaolt'
4 pkgver='0.6.9.3'
5 _revision='1181'
6 pkgrel='1'
7 pkgdesc='Java auction management tool for ebay, auvito and hood'
8 arch=('any')
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')
16 package() {
17         cd ${srcdir}/${pkgname}
19         # Patch loader
20         sed -i 's/jaolt\/launcher.jar/java\/jaolt\/launcher.jar/g' jaolt
21         install -Dm755 jaolt ${pkgdir}/usr/bin/jaolt
23         # Copy license files
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
32         # Desktop stuff
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/
36         
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: