diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..05f4af5e899c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = gpsdings + pkgdesc = Set of free applications that let you manipulate and analyse GPS data from the command line + pkgver = 6.9.4 + pkgrel = 1 + url = http://gpstools.sourceforge.net/ + arch = any + license = GPL3 + depends = java-runtime + source = http://sourceforge.net/projects/gpstools/files/gpsdings/6.9.4/gpsdings-6.9.4-jar.zip + md5sums = b801c7e450819dfec5e0666ac90d0940 + +pkgname = gpsdings + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cf1d743dbafb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + +pkgname=gpsdings +pkgver=6.9.4 +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) +md5sums=('b801c7e450819dfec5e0666ac90d0940') + +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" +} + +# vim:set ts=2 sw=2 et |