[arch-commits] Commit in bt747/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:40:18 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:40:17
  Author: foutrelis
Revision: 405576

archrelease: copy trunk to community-staging-any

Added:
  bt747/repos/community-staging-any/
  bt747/repos/community-staging-any/PKGBUILD
    (from rev 405575, bt747/trunk/PKGBUILD)
  bt747/repos/community-staging-any/bt747.desktop
    (from rev 405575, bt747/trunk/bt747.desktop)

---------------+
 PKGBUILD      |   45 +++++++++++++++++++++++++++++++++++++++++++++
 bt747.desktop |   13 +++++++++++++
 2 files changed, 58 insertions(+)

Copied: bt747/repos/community-staging-any/PKGBUILD (from rev 405575, bt747/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-10 00:40:17 UTC (rev 405576)
@@ -0,0 +1,45 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=bt747
+_pkgname=BT747
+pkgver=2.1.3
+pkgrel=4
+pkgdesc="The swiss army knife for MTK GPS dataloggers"
+arch=('any')
+url="https://www.bt747.org/"
+license=('GPL')
+depends=('java-rxtx')
+makedepends=('imagemagick')
+source=(https://downloads.sourceforge.net/$pkgname/${_pkgname}_${pkgver}_full.zip
+        https://www.bt747.org/icon/${pkgname}_128x128.gif
+        $pkgname.desktop)
+sha256sums=('b70bfb5a040e7ec687105e4092bc66f882dfa69fbbdd7971a5e9c649068ec615'
+            '6e2aa20d9fcdf44b8ac779f0a12a87480cd6f3f1b47127b250bac978c1d42149'
+            '7ab8f2ae7a1cdc6e4aec353b5b2b7601d1bf6c7df99c942a3b98c1bc2437474f')
+
+prepare() {
+  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() {
+  convert +set date:create +set date:modify "${pkgname}_128x128.gif" "${pkgname}_128x128.png"
+}
+
+package() {
+  _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-staging-any/bt747.desktop (from rev 405575, bt747/trunk/bt747.desktop)
===================================================================
--- community-staging-any/bt747.desktop	                        (rev 0)
+++ community-staging-any/bt747.desktop	2018-11-10 00:40:17 UTC (rev 405576)
@@ -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;


More information about the arch-commits mailing list