summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2021-03-25 16:09:11 +0800
committertaotieren2021-03-25 16:09:11 +0800
commita1d59cfbfcb8e61b37c1f4e3b8238c429d1aacf9 (patch)
tree7acbced1a6c550c50161c4d6daebb8449193f0ac
parent7bd234a4011a74ee8e792fdf8145a4913651eda7 (diff)
downloadaur-a1d59cfbfcb8e61b37c1f4e3b8238c429d1aacf9.tar.gz
Add io.github.skiars.serialtool.metainfo.xml
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
-rw-r--r--io.github.skiars.serialtool.metainfo.xml23
3 files changed, 33 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d689d48040e..d007ba009c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = serialtool
pkgdesc = A practical Serial-Port/TCP/UDP debugging tool.
pkgver = 1.4.0alpha
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/Skiars/SerialTool
install = serialtool.install
arch = any
@@ -24,10 +24,12 @@ pkgbase = serialtool
source = serialtool.desktop
source = 20-usb-serial.rules
source = serialtool.install
+ source = io.github.skiars.serialtool.metainfo.xml
sha256sums = 95b8780eecc007fae461025d1c3db8b2158905e9379541632ab791c3c5e72455
sha256sums = 0fc47631291ea6b1d5d62af0a709a1a234fa354cc807b4a368f9fa93b7f97bbe
sha256sums = bd504256698f7e7b1a74fbc6490276f0c096c2e6b5e7199049766b7ba7c860a7
sha256sums = 303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4
+ sha256sums = 41a8f888c8bccdd06a808469a2d37183879b1244b822b397e14bf1b2a013bdc7
pkgname = serialtool
diff --git a/PKGBUILD b/PKGBUILD
index abb349dad7d..521b1eb3995 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=SerialTool
pkgname=serialtool
pkgver=1.4.0alpha
-pkgrel=4
+pkgrel=5
pkgdesc="A practical Serial-Port/TCP/UDP debugging tool."
arch=('any')
url="https://github.com/Skiars/SerialTool"
@@ -18,11 +18,13 @@ 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")
+ "${pkgname}.install"
+ "io.github.skiars.serialtool.metainfo.xml")
sha256sums=('95b8780eecc007fae461025d1c3db8b2158905e9379541632ab791c3c5e72455'
'0fc47631291ea6b1d5d62af0a709a1a234fa354cc807b4a368f9fa93b7f97bbe'
'bd504256698f7e7b1a74fbc6490276f0c096c2e6b5e7199049766b7ba7c860a7'
- '303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4')
+ '303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4'
+ '41a8f888c8bccdd06a808469a2d37183879b1244b822b397e14bf1b2a013bdc7')
build() {
cp -r "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/resource/images/logo.ico" "${srcdir}/${_pkgname}-${pkgver}/${pkgname}.ico"
@@ -46,7 +48,8 @@ package() {
#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"
+
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"
diff --git a/io.github.skiars.serialtool.metainfo.xml b/io.github.skiars.serialtool.metainfo.xml
new file mode 100644
index 00000000000..6cef131c2b9
--- /dev/null
+++ b/io.github.skiars.serialtool.metainfo.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>io.github.skiars.serialtool</id>
+
+ <name>serialtool</name>
+ <summary>serialtool</summary>
+
+ <metadata_license>CC-BY-SA-4.0</metadata_license>
+ <project_license>AGPL-3.0-only</project_license>
+
+ <description>
+ <p>
+ A practical Serial-Port/TCP/UDP debugging tool.
+ </p>
+ </description>
+
+ <launchable type="desktop-id">io.github.skiars.serialtool.desktop</launchable>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://github.com/Skiars/SerialTool/raw/master/screenshot/shot_001.gif</image>
+ </screenshot>
+ </screenshots>
+</component>