blob: 01cd93d895cd4b280296b4dfadcbe1a849b8fa86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=gpsdings
pkgver=6.9.5
pkgrel=1
pkgdesc="Set of free applications that let you manipulate and analyse GPS data from the command line"
arch=('any')
url="http://gpstools.sourceforge.net/"
license=('GPL3')
depends=('java-runtime')
source=(http://sourceforge.net/projects/gpstools/files/$pkgname/$pkgver/$pkgname-$pkgver-jar.zip)
sha256sums=('a2688b072685a7953f970fa0a79f2c1ecd60d67782055509be3ace4ed955b02b')
package() {
cd "${srcdir}"
install -Dm644 $pkgname.jar "${pkgdir}"/usr/share/java/$pkgname/$pkgname.jar
echo -e "#"'!'"/bin/bash\njava -jar /usr/share/java/$pkgname/$pkgname.jar \"\$@\"" > $pkgname
install -Dm755 $pkgname "${pkgdir}"/usr/bin/$pkgname
install -d "${pkgdir}"/usr/share/doc/$pkgname
cp -r doc/* "${pkgdir}"/usr/share/doc/$pkgname
}
|