[arch-commits] Commit in bt747/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 12:33:29 UTC 2020
Date: Tuesday, July 7, 2020 @ 12:33:29
Author: felixonmars
Revision: 658152
archrelease: copy trunk to community-staging-any
Added:
bt747/repos/community-staging-any/
bt747/repos/community-staging-any/PKGBUILD
(from rev 658150, bt747/trunk/PKGBUILD)
bt747/repos/community-staging-any/bt747.appdata.xml
(from rev 658150, bt747/trunk/bt747.appdata.xml)
bt747/repos/community-staging-any/bt747.desktop
(from rev 658150, bt747/trunk/bt747.desktop)
-------------------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
bt747.appdata.xml | 19 +++++++++++++++++++
bt747.desktop | 13 +++++++++++++
3 files changed, 81 insertions(+)
Copied: bt747/repos/community-staging-any/PKGBUILD (from rev 658150, bt747/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 12:33:29 UTC (rev 658152)
@@ -0,0 +1,49 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=bt747
+_pkgname=BT747
+pkgver=2.2.1
+pkgrel=2
+pkgdesc="The swiss army knife for MTK GPS dataloggers"
+arch=('any')
+url="https://www.bt747.org/"
+license=('GPL')
+depends=('hicolor-icon-theme' 'java-rxtx')
+makedepends=('imagemagick')
+# Some files are missing from the 2.2.1 release, we need also the older one
+source=(https://downloads.sourceforge.net/$pkgname/${_pkgname}_2.1.3_full.zip
+ https://downloads.sourceforge.net/$pkgname/${_pkgname}_${pkgver}_en_full.zip
+ https://www.bt747.org/icon/${pkgname}_128x128.gif
+ $pkgname.desktop
+ $pkgname.appdata.xml)
+sha256sums=('b70bfb5a040e7ec687105e4092bc66f882dfa69fbbdd7971a5e9c649068ec615'
+ '5f47c37116e3783c5942a9e181bb422bc06f951318b2e84df2fb21c951c9e08d'
+ '6e2aa20d9fcdf44b8ac779f0a12a87480cd6f3f1b47127b250bac978c1d42149'
+ '8e9b9528e2bf41627fb226ed1e4af31da70e734047fd33d0586fb8000cdcdb62'
+ '6906e3c67d892859a361a148e4f90411214bea31f7b53695f6832d0dc6f44bb8')
+
+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
+
+ 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.appdata.xml "$pkgdir"/usr/share/metainfo/$pkgname.appdata.xml
+ install -D -m644 ${pkgname}_128x128.png "$pkgdir"/usr/share/icons/hicolor/128x128/apps/$pkgname.png
+}
Copied: bt747/repos/community-staging-any/bt747.appdata.xml (from rev 658150, bt747/trunk/bt747.appdata.xml)
===================================================================
--- community-staging-any/bt747.appdata.xml (rev 0)
+++ community-staging-any/bt747.appdata.xml 2020-07-07 12:33:29 UTC (rev 658152)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>org.bt747.bt747</id>
+ <launchable type="desktop-id">bt747.desktop</launchable>
+ <name>BT747</name>
+ <summary>The swiss army knife for MTK loggers</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-3.0</project_license>
+ <description>
+ <p>BT747 is a software for GPS data logger devices. Compatible with most MTK GPS Chipset based loggers.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://www.bt747.org/files/images/bt747_linux_log.preview.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="bugtracker">https://sourceforge.net/p/bt747/bugs/</url>
+ <url type="homepage">https://www.bt747.org/</url>
+</component>
Copied: bt747/repos/community-staging-any/bt747.desktop (from rev 658150, bt747/trunk/bt747.desktop)
===================================================================
--- community-staging-any/bt747.desktop (rev 0)
+++ community-staging-any/bt747.desktop 2020-07-07 12:33:29 UTC (rev 658152)
@@ -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;Maps;
More information about the arch-commits
mailing list