From ea1136777d87b9f90f8a1912922ca82c835e26a6 Mon Sep 17 00:00:00 2001 From: Christian Schendel Date: Wed, 22 Oct 2025 07:31:44 +0200 Subject: [PATCH] upgpkg: cylon-6.4-4: add appstream metainfo --- .SRCINFO | 6 ++++- .gitignore | 2 ++ PKGBUILD | 25 +++++++++++------ cylonicon.svg | 1 + io.github.gavinlyonsrepo.cylon.metainfo.xml | 30 +++++++++++++++++++++ 5 files changed, 55 insertions(+), 9 deletions(-) create mode 100644 cylonicon.svg create mode 100644 io.github.gavinlyonsrepo.cylon.metainfo.xml diff --git a/.SRCINFO b/.SRCINFO index 44df52f..1d64ecb 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 = 3 + pkgrel = 4 url = https://github.com/gavinlyonsrepo/cylon arch = any license = GPL-3.0-or-later @@ -16,7 +16,11 @@ pkgbase = cylon optdepends = openbsd-netcat: used for checking network optdepends = libnotify: desktop notifications source = cylon-6.4::git+https://github.com/gavinlyonsrepo/cylon.git#tag=6.4 + source = io.github.gavinlyonsrepo.cylon.metainfo.xml + source = cylonicon.svg b2sums = 2b72dfbdf595d60fe98c8f96d1dc8d18c95be845073aab1c85b4752993771f061e99067d0d93192e1b40fa90fd5115767991cd08dccdfde21ebb5dcd10ef2949 + b2sums = f166b3671cdad778a4eaea556349a1d7a9ea1c26eb9768d9a1e098de9492487518ff87a05a11fefa1f7a6460629002a570a1aa02ca878531203919781484ae25 + b2sums = c9c7ae71eec0eb410e1ba06fe762dd718506e23d1531a7e6b83fba8c804ee88ed7c0d9cf994c2819e1fc58c175ee1feb3361481d61bca064952a53e32540d5b2 pkgname = cylon depends = bash diff --git a/.gitignore b/.gitignore index eb708b8..c916d00 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ !/LICENSES !/LICENSES/*.txt !REUSE.toml +!cylonicon.svg +!io.github.gavinlyonsrepo.cylon.metainfo.xml diff --git a/PKGBUILD b/PKGBUILD index 00a0a66..f178ec8 100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,14 +3,13 @@ # https://github.com/gavinlyonsrepo/cylon pkgname=cylon pkgver=6.4 -pkgrel=3 +pkgrel=4 pkgdesc="Updates, Maintenance, backup and system checks in a menu driven TUI written in Bash" arch=('any') url="https://github.com/gavinlyonsrepo/cylon" license=( GPL-3.0-or-later ) - makedepends=( git ) @@ -25,8 +24,14 @@ optdepends=( 'openbsd-netcat: used for checking network' 'libnotify: desktop notifications' ) -source=("$pkgname-$pkgver::git+$url.git#tag=$pkgver") -b2sums=('2b72dfbdf595d60fe98c8f96d1dc8d18c95be845073aab1c85b4752993771f061e99067d0d93192e1b40fa90fd5115767991cd08dccdfde21ebb5dcd10ef2949') +source=( + "$pkgname-$pkgver::git+$url.git#tag=$pkgver" + "io.github.gavinlyonsrepo.cylon.metainfo.xml" + "cylonicon.svg" +) +b2sums=('2b72dfbdf595d60fe98c8f96d1dc8d18c95be845073aab1c85b4752993771f061e99067d0d93192e1b40fa90fd5115767991cd08dccdfde21ebb5dcd10ef2949' + 'f166b3671cdad778a4eaea556349a1d7a9ea1c26eb9768d9a1e098de9492487518ff87a05a11fefa1f7a6460629002a570a1aa02ca878531203919781484ae25' + 'c9c7ae71eec0eb410e1ba06fe762dd718506e23d1531a7e6b83fba8c804ee88ed7c0d9cf994c2819e1fc58c175ee1feb3361481d61bca064952a53e32540d5b2') package() { depends+=( @@ -45,11 +50,15 @@ package() { install -Dm0644 README.md "$pkgdir/usr/share/doc/${pkgname}/Readme.md" install -Dm0644 documentation/help/*.md "$pkgdir/usr/share/doc/${pkgname}/" - install -Dm0644 documentation/help/cylon.7 "$pkgdir/usr/share/man/man7/cylon.7" + install -Dm0644 documentation/help/cylon.7 \ + "$pkgdir/usr/share/man/man7/cylon.7" - install -Dm0644 desktop/cylon.desktop "$pkgdir/usr/share/applications/cylon.desktop" - install -Dm0644 desktop/cylonicon.png "$pkgdir/usr/share/pixmaps/cylonicon.png" + install -Dm0644 desktop/cylon.desktop \ + "$pkgdir/usr/share/applications/cylon.desktop" + install -Dm0644 ../cylonicon.svg \ + "$pkgdir/usr/share/icons/hicolor/scalable/apps/cylonicon.svg" + install -Dm644 ../io.github.gavinlyonsrepo.cylon.metainfo.xml \ + "${pkgdir}/usr/share/metainfo/io.github.gavinlyonsrepo.cylon.metainfo.xml" } # vim: set ft=sh ts=4 sw=4 et: - diff --git a/cylonicon.svg b/cylonicon.svg new file mode 100644 index 0000000..e03acc3 --- /dev/null +++ b/cylonicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/io.github.gavinlyonsrepo.cylon.metainfo.xml b/io.github.gavinlyonsrepo.cylon.metainfo.xml new file mode 100644 index 0000000..73af9ed --- /dev/null +++ b/io.github.gavinlyonsrepo.cylon.metainfo.xml @@ -0,0 +1,30 @@ + + + io.github.gavinlyonsrepo.cylon + + cylon + Arch Linux distribution maintenance program + + CC0-1.0 + GPL-3.0-or-later + + +

+ A TUI (terminal user interface) which provides updates and maintains an Arch based Linux distribution. +

+

+ The program is menu-based and written in bash. It is mainly text based but also uses dialog GUI's at a few points mainly for directory and file selection. +

+
+ + cylonicon + + + System + TerminalEmulator + + + + cylon + +