Date: Sunday, January 29, 2017 @ 11:13:17 Author: bgyorgy Revision: 209346
archrelease: copy trunk to community-any Added: bt747/repos/ bt747/repos/community-any/ bt747/repos/community-any/PKGBUILD (from rev 209345, bt747/trunk/PKGBUILD) bt747/repos/community-any/bt747.desktop (from rev 209345, bt747/trunk/bt747.desktop) ---------------+ PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ bt747.desktop | 13 +++++++++++++ 2 files changed, 62 insertions(+) Copied: bt747/repos/community-any/PKGBUILD (from rev 209345, bt747/trunk/PKGBUILD) =================================================================== --- repos/community-any/PKGBUILD (rev 0) +++ repos/community-any/PKGBUILD 2017-01-29 11:13:17 UTC (rev 209346) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=bt747 +_pkgname=BT747 +pkgver=2.1.3 +pkgrel=3 +pkgdesc="The swiss army knife for MTK GPS dataloggers" +arch=('any') +url="http://bt747.org/" +license=('GPL') +depends=('java-rxtx') +makedepends=('imagemagick') +source=(http://downloads.sourceforge.net/$pkgname/${_pkgname}_${pkgver}_full.zip + http://www.bt747.org/icon/${pkgname}_128x128.gif + $pkgname.desktop) +sha256sums=('b70bfb5a040e7ec687105e4092bc66f882dfa69fbbdd7971a5e9c649068ec615' + '6e2aa20d9fcdf44b8ac779f0a12a87480cd6f3f1b47127b250bac978c1d42149' + '7ab8f2ae7a1cdc6e4aec353b5b2b7601d1bf6c7df99c942a3b98c1bc2437474f') + +prepare() { + cd "$srcdir" + sed -i 's|^ROOT_DIR=.*|ROOT_DIR=/usr/share/java/bt747| + s|"$JAVA" -jar "${ROOT_DIR}/dist/BT747_j2se.jar" arch|uname -m| + s|amd64|x86_64| + s|/usr/share/java/RXTXcomm.jar|/usr/share/java/rxtx/RXTXcomm.jar| + s|bt747.j2se_view.BT747Main $\* &|-Dbt747_settings="`echo ~`/.config/bt747/bt747settings.pdb" bt747.j2se_view.BT747Main $\*|' ./run_j2se.sh +} + +build() { + cd "$srcdir" + convert "${pkgname}_128x128.gif" "${pkgname}_128x128.png" +} + +package() { + cd "$srcdir" + _installdir="$pkgdir"/usr/share/java/$pkgname + install -D -m644 lib/jchart2d-3.1.0.jar "$_installdir"/lib/jchart2d-3.1.0.jar + install -D -m644 lib/jopt-simple-2.4.1.jar "$_installdir"/lib/jopt-simple-2.4.1.jar + install -D -m644 lib/jcalendar-1.3.2.jar "$_installdir"/lib/jcalendar-1.3.2.jar + install -D -m644 lib/swing-layout-1.0.3.jar "$_installdir"/lib/swing-layout-1.0.3.jar + install -D -m644 lib/swingx.jar "$_installdir"/lib/swingx.jar + install -D -m644 lib/swingx-ws.jar "$_installdir"/lib/swingx-ws.jar + install -D -m644 dist/libBT747.jar "$_installdir"/dist/libBT747.jar + install -D -m644 dist/BT747_j2se.jar "$_installdir"/dist/BT747_j2se.jar + install -D -m755 ./run_j2se.sh "$pkgdir"/usr/bin/$pkgname + install -D -m644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop + install -D -m644 ${pkgname}_128x128.png "$pkgdir"/usr/share/pixmaps/$pkgname.png +} Copied: bt747/repos/community-any/bt747.desktop (from rev 209345, bt747/trunk/bt747.desktop) =================================================================== --- repos/community-any/bt747.desktop (rev 0) +++ repos/community-any/bt747.desktop 2017-01-29 11:13:17 UTC (rev 209346) @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=BT747 +GenericName=GPS Tool +GenericName[hu]=GPS eszköz +X-GNOME-FullName=BT747 GPS Tool +X-GNOME-FullName[hu]=BT747 GPS eszköz +Comment=The swiss army knife for MTK loggers +Comment[hu]=A svájcibicska MTK rögzítőkhöz +Exec=bt747 +Icon=bt747 +Categories=Java;Utility;Map;