diff options
author | Florian Preinstorfer | 2015-06-08 19:39:38 +0200 |
---|---|---|
committer | Florian Preinstorfer | 2015-06-08 19:39:38 +0200 |
commit | c80311ecb8881dba65d0d85394d53b4a4e229345 (patch) | |
tree | 3de4f3f21552fff8f7963584b0d359c1fe363e8a | |
download | aur-c80311ecb8881dba65d0d85394d53b4a4e229345.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | mytourbook.desktop | 7 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c88632cf7689 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = mytourbook_bin + pkgdesc = A tool to visualize and analyze tours recorded by a GPS device, ergometer, bike- or exercise computer. + pkgver = 15.3.2 + pkgrel = 1 + url = http://mytourbook.sourceforge.net + arch = i686 + arch = x86_64 + license = GPL + depends = java-runtime + depends = fontconfig + depends = libxrender + options = !strip + source = mytourbook.desktop + md5sums = 428a78ad67746b149ccb8e70cc8b086b + +pkgname = mytourbook_bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d56469896a93 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: jose <jose1711 [at] gmail (dot) com> +# Contributor: nblock <nblock [/at\] archlinux DOT us> + +pkgname=mytourbook_bin +pkgver=15.3.2 +pkgrel=1 +pkgdesc="A tool to visualize and analyze tours recorded by a GPS device, ergometer, bike- or exercise computer." +arch=('i686' 'x86_64') +url="http://mytourbook.sourceforge.net" +license=("GPL") +depends=('java-runtime' 'fontconfig' 'libxrender') +source=("mytourbook.desktop") +options=(!strip) +md5sums=('428a78ad67746b149ccb8e70cc8b086b') + +[ "$CARCH" = "i686" ] && source=(${source[@]} "http://downloads.sourceforge.net/project/mytourbook/MyTourbook/${pkgver}/mytourbook_${pkgver}.linux.gtk.x86.zip") +[ "$CARCH" = "x86_64" ] && source=(${source[@]} "http://downloads.sourceforge.net/project/mytourbook/MyTourbook/${pkgver}/mytourbook_${pkgver}.linux.gtk.x86_64.zip") + +[ "$CARCH" = "i686" ] && md5sums=(${md5sums[@]} 'c9605abdcf496b1c953bad25e0f12612') +[ "$CARCH" = "x86_64" ] && md5sums=(${md5sums[@]} 'f87ab833078876acb4d9c5b06b87d053') + +package() { + mkdir -p ${pkgdir}/usr/{bin,share/mytourbook} + cd ${srcdir}/mytourbook + tar cf - * --exclude=.PKGINFO | ( cd ${pkgdir}/usr/share/mytourbook; tar xfp -) + find ${pkgdir}/usr/share/mytourbook -type f -print0 | xargs -0 chmod 644 + chmod 755 ${pkgdir}/usr/share/mytourbook/mytourbook + ln -s /usr/share/mytourbook/mytourbook ${pkgdir}/usr/bin/mytourbook + + install -D -m644 icon.xpm $pkgdir/usr/share/pixmaps/mytourbook.xpm + install -D -m644 $srcdir/mytourbook.desktop $pkgdir/usr/share/applications/mytourbook.desktop +} + +# vim:set ts=2 sw=2 noet: diff --git a/mytourbook.desktop b/mytourbook.desktop new file mode 100644 index 000000000000..7285fb5b586e --- /dev/null +++ b/mytourbook.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=MyTourbook +Comment=GPS tracks analyzer and visualizer +Exec=mytourbook +Icon=mytourbook.xpm +Categories=Utility;DataVisualization; |