mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
josm update, qtfm corrected md5
This commit is contained in:
parent
063d575d62
commit
f1aaa87e2a
@ -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
|
||||
}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user