josm update, qtfm corrected md5

This commit is contained in:
Anke 2011-03-10 13:16:30 +00:00
parent 063d575d62
commit f1aaa87e2a
2 changed files with 21 additions and 13 deletions

View File

@ -10,24 +10,32 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=josm
pkgver=3751
pkgver=3966
pkgrel=1
pkgdesc="An editor for OpenStreetMap written in Java."
arch=('i686' 'x86_64')
url="http://josm.openstreetmap.de/"
license=('GPL')
depends=('java-runtime' 'intltool')
depends=('jre' 'intltool')
source=(http://josm.openstreetmap.de/download/$pkgname-tested.jar \
$pkgname.desktop josm.sh)
md5sums=('26055109da47ae074727d233b2937593'
'e2b8c820100f3403a6cd10c1239d659a'
'a497395e555e22c5e0412ebbab911737')
$pkgname.desktop)
md5sums=('bf374e0279719aef29857b8e66c9ef15'
'e2b8c820100f3403a6cd10c1239d659a')
build() {
cd $startdir/src
cd ${srcdir}
install -D -m644 ${pkgname}-tested.jar $startdir/pkg/usr/share/java/josm/josm.jar || return 1
install -D -m644 $startdir/src/${pkgname}.desktop $startdir/pkg/usr/share/applications/${pkgname}.desktop || return 1
install -D -m755 $startdir/src/${pkgname}.sh $startdir/pkg/usr/bin/josm || return 1
install -D -m644 images/logo.png ${startdir}/pkg/usr/share/pixmaps/josm.png || return 1
install -D -m644 $pkgname-tested.jar ${pkgdir}/usr/share/java/$pkgname/$pkgname.jar
#.desktop and icon file
install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop
install -D -m644 images/logo.png ${pkgdir}/usr/share/pixmaps/$pkgname.png
#executable file
install -d ${pkgdir}/usr/bin
echo "#!/bin/sh" > ${pkgdir}/usr/bin/$pkgname
echo CLASSPATH="/usr/share/java/josm/josm.jar" >> ${pkgdir}/usr/bin/$pkgname
echo /opt/java/jre/bin/java -cp \"\${CLASSPATH}\" org.openstreetmap.josm.gui.MainApplication \"\$@\" \
>> ${pkgdir}/usr/bin/$pkgname
chmod 755 ${pkgdir}/usr/bin/$pkgname
}

View File

@ -15,7 +15,7 @@ url="http://www.qtfm.org"
license=('GPL')
depends=('qt')
source=(http://www.qtfm.org/$pkgname-$pkgver.tar.gz)
md5sums=('2e6f6a77ee3c10c77adf2dc9d5c59a9c')
md5sums=('af419b8681f8031620259e0ac2957e46')
build() {
cd "$startdir/src/$pkgname-$pkgver"