diff --git a/.SRCINFO b/.SRCINFO index 1d64ecb..83b6a53 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/.gitignore b/.gitignore index c916d00..a61cb25 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ !/LICENSES/*.txt !REUSE.toml !cylonicon.svg -!io.github.gavinlyonsrepo.cylon.metainfo.xml +!*.metainfo.xml +!*.patch diff --git a/PKGBUILD b/PKGBUILD index f178ec8..0cd6965 100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -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" } diff --git a/desktop.patch b/desktop.patch new file mode 100644 index 0000000..6cf6b27 --- /dev/null +++ b/desktop.patch @@ -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 diff --git a/io.github.gavinlyonsrepo.cylon.metainfo.xml b/io.github.gavinlyonsrepo.cylon.metainfo.xml index 73af9ed..f45a7aa 100644 --- a/io.github.gavinlyonsrepo.cylon.metainfo.xml +++ b/io.github.gavinlyonsrepo.cylon.metainfo.xml @@ -1,9 +1,9 @@ - + io.github.gavinlyonsrepo.cylon cylon - Arch Linux distribution maintenance program + A Terminal user interface for maintaining an Arch Linux distribution CC0-1.0 GPL-3.0-or-later @@ -17,14 +17,5 @@

- cylonicon - - - System - TerminalEmulator - - - - cylon - + io.github.gavinlyonsrepo.cylon.desktop