diff options
author | Jaroslav Lichtblau | 2014-11-28 20:17:14 +0100 |
---|---|---|
committer | Jaroslav Lichtblau | 2014-11-28 20:17:14 +0100 |
commit | e7469de703e4a71f610560a95925a36b7717ff06 (patch) | |
tree | 4be1e41661c1617c0eada9f27f772d515f4ccde3 | |
download | aur-e7469de703e4a71f610560a95925a36b7717ff06.tar.gz |
Initial PKGBUILD status as of 28.11.2014
-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 |