upgpkg: cylon-6.4-6: fix appstream data

This commit is contained in:
Christian Schendel 2025-10-23 03:00:36 +02:00
parent ea1136777d
commit 6f871c50a9
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3
5 changed files with 35 additions and 22 deletions

View file

@ -1,7 +1,7 @@
pkgbase = cylon
pkgdesc = Updates, Maintenance, backup and system checks in a menu driven TUI written in Bash
pkgver = 6.4
pkgrel = 4
pkgrel = 6
url = https://github.com/gavinlyonsrepo/cylon
arch = any
license = GPL-3.0-or-later
@ -10,7 +10,7 @@ pkgbase = cylon
optdepends = trizen: AUR helper
optdepends = lostfiles: For finding lost files
optdepends = arch-audit: collect CVE data
optdepends = rmlint: Finds lint and other unwanted
optdepends = rmlint: Finds lint and other unwanted files
optdepends = bleachbit: used for system clean
optdepends = gnu-netcat: used for checking network
optdepends = openbsd-netcat: used for checking network
@ -18,9 +18,11 @@ pkgbase = cylon
source = cylon-6.4::git+https://github.com/gavinlyonsrepo/cylon.git#tag=6.4
source = io.github.gavinlyonsrepo.cylon.metainfo.xml
source = cylonicon.svg
source = desktop.patch
b2sums = 2b72dfbdf595d60fe98c8f96d1dc8d18c95be845073aab1c85b4752993771f061e99067d0d93192e1b40fa90fd5115767991cd08dccdfde21ebb5dcd10ef2949
b2sums = f166b3671cdad778a4eaea556349a1d7a9ea1c26eb9768d9a1e098de9492487518ff87a05a11fefa1f7a6460629002a570a1aa02ca878531203919781484ae25
b2sums = 0b2aa78c8c982539f1b855cc0f646a79ace5c1c37989d17f91e6a57d8406d83b8cdb68f8637a97649bd590e08c55a2a4199b8ae2cf42e3f63099198c3782a69e
b2sums = c9c7ae71eec0eb410e1ba06fe762dd718506e23d1531a7e6b83fba8c804ee88ed7c0d9cf994c2819e1fc58c175ee1feb3361481d61bca064952a53e32540d5b2
b2sums = 2bebd78db39b75d8f11b87d2466d2bc26633183a54a600ac54863373cd68495005fec59b71b88db1bf59f459af8c9287890c0299d492110ba15ce0f0d38a682a
pkgname = cylon
depends = bash

3
.gitignore vendored
View file

@ -15,4 +15,5 @@
!/LICENSES/*.txt
!REUSE.toml
!cylonicon.svg
!io.github.gavinlyonsrepo.cylon.metainfo.xml
!*.metainfo.xml
!*.patch

View file

@ -3,7 +3,7 @@
# https://github.com/gavinlyonsrepo/cylon
pkgname=cylon
pkgver=6.4
pkgrel=4
pkgrel=6
pkgdesc="Updates, Maintenance, backup and system checks in a menu driven TUI written in Bash"
arch=('any')
url="https://github.com/gavinlyonsrepo/cylon"
@ -18,7 +18,7 @@ optdepends=(
'trizen: AUR helper'
'lostfiles: For finding lost files'
'arch-audit: collect CVE data'
'rmlint: Finds lint and other unwanted'
'rmlint: Finds lint and other unwanted files'
'bleachbit: used for system clean'
'gnu-netcat: used for checking network'
'openbsd-netcat: used for checking network'
@ -28,10 +28,16 @@ source=(
"$pkgname-$pkgver::git+$url.git#tag=$pkgver"
"io.github.gavinlyonsrepo.cylon.metainfo.xml"
"cylonicon.svg"
"desktop.patch"
)
b2sums=('2b72dfbdf595d60fe98c8f96d1dc8d18c95be845073aab1c85b4752993771f061e99067d0d93192e1b40fa90fd5115767991cd08dccdfde21ebb5dcd10ef2949'
'f166b3671cdad778a4eaea556349a1d7a9ea1c26eb9768d9a1e098de9492487518ff87a05a11fefa1f7a6460629002a570a1aa02ca878531203919781484ae25'
'c9c7ae71eec0eb410e1ba06fe762dd718506e23d1531a7e6b83fba8c804ee88ed7c0d9cf994c2819e1fc58c175ee1feb3361481d61bca064952a53e32540d5b2')
'0b2aa78c8c982539f1b855cc0f646a79ace5c1c37989d17f91e6a57d8406d83b8cdb68f8637a97649bd590e08c55a2a4199b8ae2cf42e3f63099198c3782a69e'
'c9c7ae71eec0eb410e1ba06fe762dd718506e23d1531a7e6b83fba8c804ee88ed7c0d9cf994c2819e1fc58c175ee1feb3361481d61bca064952a53e32540d5b2'
'2bebd78db39b75d8f11b87d2466d2bc26633183a54a600ac54863373cd68495005fec59b71b88db1bf59f459af8c9287890c0299d492110ba15ce0f0d38a682a')
prepare() {
patch -d $pkgname-$pkgver -Np1 -i ../desktop.patch
}
package() {
depends+=(
@ -54,9 +60,9 @@ package() {
"$pkgdir/usr/share/man/man7/cylon.7"
install -Dm0644 desktop/cylon.desktop \
"$pkgdir/usr/share/applications/cylon.desktop"
"$pkgdir/usr/share/applications/io.github.gavinlyonsrepo.cylon.desktop"
install -Dm0644 ../cylonicon.svg \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/cylonicon.svg"
"$pkgdir/usr/share/icons/hicolor/scalable/apps/io.github.gavinlyonsrepo.cylon.svg"
install -Dm644 ../io.github.gavinlyonsrepo.cylon.metainfo.xml \
"${pkgdir}/usr/share/metainfo/io.github.gavinlyonsrepo.cylon.metainfo.xml"
}

13
desktop.patch Normal file
View file

@ -0,0 +1,13 @@
diff -ura ./a/desktop/cylon.desktop ./b/desktop/cylon.desktop
--- a/desktop/cylon.desktop 2025-10-23 02:44:46.028278265 +0200
+++ b/desktop/cylon.desktop 2025-10-23 02:48:07.325878308 +0200
@@ -3,7 +3,7 @@
GenericName=Cylon maintenance
Comment=Arch Linux maintenance CLI program
Exec=cylon
-Icon=cylonicon
-Categories=System
+Icon=io.github.gavinlyonsrepo.cylon
+Categories=System;TerminalEmulator;
Type=Application
Terminal=true

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="console-application">
<component type="desktop-application">
<id>io.github.gavinlyonsrepo.cylon</id>
<name>cylon</name>
<summary>Arch Linux distribution maintenance program</summary>
<summary>A Terminal user interface for maintaining an Arch Linux distribution</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
@ -17,14 +17,5 @@
</p>
</description>
<icon type="stock">cylonicon</icon>
<categories>
<category>System</category>
<category>TerminalEmulator</category>
</categories>
<provides>
<binary>cylon</binary>
</provides>
<launchable type="desktop-id">io.github.gavinlyonsrepo.cylon.desktop</launchable>
</component>