desktop/josm/PKGBUILD
2011-01-22 00:33:47 +00:00

34 lines
1.2 KiB
Bash

#
# 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=3751
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=('26055109da47ae074727d233b2937593'
'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
}