summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2021-06-11 22:29:04 +0800
committertaotieren2021-06-11 22:29:04 +0800
commit6293fd8c0a0b5aecb0c3d152c15c3defb01cd47b (patch)
tree2441106378d77eb488b2470617593a6dbac66940
parentbf137b7550718181eaec778aafa6aab248df8654 (diff)
downloadaur-6293fd8c0a0b5aecb0c3d152c15c3defb01cd47b.tar.gz
Update v1.5.5
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD51
-rwxr-xr-xserialtool5
3 files changed, 30 insertions, 48 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 259ed5710d5..55e3fe079da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = serialtool
pkgdesc = A practical Serial-Port/TCP/UDP debugging tool.
- pkgver = 1.4.0alpha
- pkgrel = 7
- url = https://github.com/Skiars/SerialTool
+ pkgver = 1.5.5
+ pkgrel = 1
+ url = https://github.com/HoGC/SerialTool
install = serialtool.install
arch = any
license = GPL3
@@ -15,21 +15,13 @@ pkgbase = serialtool
depends = qt5-serialport
depends = qt5-charts
depends = qt5-script
- depends = icoutils
provides = serialtool
conflicts = serialtool
conflicts = serialtool-git
options = !strip
- source = SerialTool.zip::https://github.com/Skiars/SerialTool/archive/refs/tags/v1.4.0alpha.zip
- source = serialtool.desktop
- source = 20-usb-serial.rules
- source = serialtool.install
- source = io.github.skiars.serialtool.metainfo.xml
- sha256sums = 95b8780eecc007fae461025d1c3db8b2158905e9379541632ab791c3c5e72455
- sha256sums = f646db8d3d577589da15a555653a91ae725be626c933e384ba07db8b9bdc30c8
- sha256sums = bd504256698f7e7b1a74fbc6490276f0c096c2e6b5e7199049766b7ba7c860a7
- sha256sums = 303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4
- sha256sums = 41a8f888c8bccdd06a808469a2d37183879b1244b822b397e14bf1b2a013bdc7
+ source = SerialTool-1.5.5.zip::https://github.com/HoGC/SerialTool/archive/refs/tags/v1.5.5.zip
+ source = serialtool
+ sha256sums = 5ee4013f73321cd5443e842f82e96eb1ccac31527591977a2deda686bd87f47c
+ sha256sums = b93065b98d21ce9054da53004edf703d7801fe7657583f4f594eb04f25df672c
pkgname = serialtool
-
diff --git a/PKGBUILD b/PKGBUILD
index a9e4a8f3882..148dba0f86e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,60 +1,45 @@
# Maintainer: taotieren <admin@taotieren.com>
_pkgname=SerialTool
pkgname=serialtool
-pkgver=1.4.0alpha
-pkgrel=7
+pkgver=1.5.5
+pkgrel=1
pkgdesc="A practical Serial-Port/TCP/UDP debugging tool."
arch=('any')
-url="https://github.com/Skiars/SerialTool"
+url="https://github.com/HoGC/SerialTool"
license=('GPL3')
provides=(${pkgname})
conflicts=(${pkgname} 'serialtool-git')
#replaces=(${pkgname})
-depends=('qscintilla-qt5' 'qt5-serialport' 'qt5-charts' 'qt5-script' 'icoutils')
+depends=('qscintilla-qt5' 'qt5-serialport' 'qt5-charts' 'qt5-script')
makedepends=('qscintilla-qt5' 'qt5-serialport' 'qt5-charts' 'qt5-script' 'qt5-tools')
backup=()
options=('!strip')
install=${pkgname}.install
-source=("${_pkgname}.zip::https://github.com/Skiars/${_pkgname}/archive/refs/tags/v${pkgver}.zip"
- "${pkgname}.desktop"
- "20-usb-serial.rules"
- "${pkgname}.install"
- "io.github.skiars.serialtool.metainfo.xml")
-sha256sums=('95b8780eecc007fae461025d1c3db8b2158905e9379541632ab791c3c5e72455'
- 'f646db8d3d577589da15a555653a91ae725be626c933e384ba07db8b9bdc30c8'
- 'bd504256698f7e7b1a74fbc6490276f0c096c2e6b5e7199049766b7ba7c860a7'
- '303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4'
- '41a8f888c8bccdd06a808469a2d37183879b1244b822b397e14bf1b2a013bdc7')
+source=("${_pkgname}-${pkgver}.zip::${url}/archive/refs/tags/v${pkgver}.zip"
+ "${pkgname}")
+sha256sums=('5ee4013f73321cd5443e842f82e96eb1ccac31527591977a2deda686bd87f47c'
+ 'b93065b98d21ce9054da53004edf703d7801fe7657583f4f594eb04f25df672c')
build() {
- cp -r "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/resource/images/logo.ico" "${srcdir}/${_pkgname}-${pkgver}/${pkgname}.ico"
-#icotool -x "${srcdir}/${_pkgname}-${pkgver}/${pkgname}.ico"
- cd "${srcdir}/${_pkgname}-${pkgver}/"
- icotool -x "${pkgname}.ico"
cd ${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/
- qmake
+ qmake
make
}
package() {
install -dm755 "${pkgdir}/usr/bin/" \
- "${pkgdir}/usr/share/${pkgname}/" \
+ "${pkgdir}/usr/share/${pkgname}/"
cd ${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/
cp --preserve=mode -r ${_pkgname} language config themes slave "${pkgdir}/usr/share/${pkgname}/"
- ln -sf "/usr/share/${pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- #install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/resource/images/logo.ico" "${pkgdir}/usr/share/pixmaps/${pkgname}.ico"
- install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -Dm644 "${srcdir}/20-usb-serial.rules" "${pkgdir}/etc/udev/rules.d/20-usb-serial.rules"
- install -Dm644 "${srcdir}/io.github.skiars.serialtool.metainfo.xml" "${pkgdir}/usr/share/metainfo/io.github.skiars.serialtool.metainfo.xml"
+ cd pkg/
+ cp --preserve=mode -r icons "${pkgdir}/usr/share/"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${pkgname}_7_16x16x32.png" "${pkgdir}/usr/share/icons/hicolor/16x16/apps/${pkgname}.png"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${pkgname}_6_20x20x32.png" "${pkgdir}/usr/share/icons/hicolor/20x20/apps/${pkgname}.png"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${pkgname}_5_24x24x32.png" "${pkgdir}/usr/share/icons/hicolor/24x24/apps/${pkgname}.png"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${pkgname}_4_32x32x32.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/${pkgname}.png"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${pkgname}_3_64x64x32.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/${pkgname}.png"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${pkgname}_2_128x128x32.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/${pkgname}.png"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${pkgname}_1_256x256x32.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${pkgname}.png"
+ #ln -sf "/usr/share/${pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/pkg/io.github.skiars.${pkgname}.desktop" "${pkgdir}/usr/share/applications/io.github.skiars.${pkgname}.desktop"
+ install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/pkg/20-usb-serial.rules" "${pkgdir}/etc/udev/rules.d/20-usb-serial.rules"
+ install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/pkg/io.github.skiars.${pkgname}.metainfo.xml" "${pkgdir}/usr/share/metainfo/io.github.skiars.${pkgname}.metainfo.xml"
}
diff --git a/serialtool b/serialtool
new file mode 100755
index 00000000000..aeacdd43fef
--- /dev/null
+++ b/serialtool
@@ -0,0 +1,5 @@
+#!/bin/env bash
+# add lib path
+APP_PATH=/usr/share/serialtool
+cd $APP_PATH
+./SerialTool