Commit b5473a25 authored by abveritas's avatar abveritas

Adding josm, openstreetmap editor

parent b65e47ba
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# from AUR package http://aur.archlinux.org/packages.php?ID=12136
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=josm
pkgver=3514
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')
source=(http://josm.openstreetmap.de/download/$pkgname-tested.jar \
$pkgname.desktop josm.sh)
md5sums=('884485d94851863a61ea97d2defa9eb8'
'e2b8c820100f3403a6cd10c1239d659a'
'a497395e555e22c5e0412ebbab911737')
build() {
cd $startdir/src
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
}
[Desktop Entry]
Name=JOSM
Comment=An editor for OpenStreetMap written in Java
Exec=josm
Icon=josm.png
Terminal=false
Type=Application
Categories=Application;Graphics;
#!/bin/bash
CLASSPATH="/usr/share/java/josm/josm.jar"
java -cp "${CLASSPATH}" org.openstreetmap.josm.gui.MainApplication "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment