upgpkg: cylon-6.4-4: add appstream metainfo

This commit is contained in:
Christian Schendel 2025-10-22 07:31:44 +02:00
parent 4129083334
commit ea1136777d
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3
5 changed files with 55 additions and 9 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 = 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

2
.gitignore vendored
View file

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

View file

@ -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:

1
cylonicon.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px"><path fill="#546E7A" d="M18,30l-4.9,13c0,0,3.6,2,11,2s11-2,11-2L30,30H18z"/><path fill="#212121" d="M24.1,35c-3.3,0-5.8-0.4-7.7-0.8l0.7-1.9c1.7,0.4,4,0.7,6.9,0.7c2.9,0,5.2-0.3,6.8-0.7l0.7,1.9C29.8,34.6,27.3,35,24.1,35z M24.1,39c4.1,0,7.1-0.6,9-1.2L32.3,36c-1.7,0.5-4.5,1-8.3,1c-3.8,0-6.6-0.6-8.3-1.1L15,37.8C16.9,38.4,19.9,39,24.1,39z M34.4,41.4l-0.7-1.9C32.3,40,29.1,41,24.1,41c-5.1,0-8.3-1-9.7-1.5l-0.7,1.9C15.3,42,18.7,43,24.1,43C29.4,43,32.8,42,34.4,41.4z"/><path fill="#7986CB" d="M39.1,22c0,8.8-30,8.8-30,0s6.7-16,15-16S39.1,13.2,39.1,22z"/><path fill="#C5CAE9" d="M40.3,18.4c-0.2-1-0.9-1.4-2.2-1.4s-4.5,1.7-9,1.7c-1.2,0-1.9-0.6-1.9-1.7l0.9-15h-4h-4l0.9,15c0.1,1-0.8,1.8-1.9,1.7l-9.6-1.4c-1-0.2-2,0.5-2.2,1.4L6.1,25c-0.2,0.8,0.1,1.6,0.7,2l2.9,1.2c0.8,0.6,1.2,1.7,1,2.7L8.1,44c0,0,1.9,2,6,2l4.4-13.3c0.3-1,1.3-1.7,2.4-1.7h3.2h3.2c1.1,0,2.1,0.7,2.4,1.7L34.1,46c4.1,0,6-2,6-2l-2.7-12.8c-0.2-1,0.2-2.1,1-2.7l2.8-1.5c0.6-0.5,0.7-0.8,0.7-2C42,21.3,40.3,18.4,40.3,18.4z"/><path fill="#263238" d="M37.9,22c-0.1-0.5-0.6-0.9-1.1-0.8c-2,0.3-6.8,0.8-12.7,0.8c-5.9,0-10.7-0.6-12.7-0.8c-0.5-0.1-1,0.3-1.1,0.8l-0.3,2c-0.1,0.6,0.3,1.1,0.9,1.2c1.3,0.2,3.8,0.5,7.1,0.7l2.2,2.2h8l2.2-2.2c3.3-0.2,5.8-0.5,7.1-0.7c0.6-0.1,0.9-0.6,0.9-1.2L37.9,22z"/><path fill="#FF3D00" d="M36,24.3c0,0-1.5,0.2-3.8,0.3c-2.3,0.1-5.3,0.1-8.3,0c-1.5-0.1-3-0.2-4.4-0.3c-1.4-0.1-2.7-0.3-3.8-0.4c-1.1-0.1-2-0.3-2.7-0.4c-0.6-0.1-1-0.2-1-0.2s0.4,0,1,0.1c0.6,0.1,1.6,0.1,2.7,0.2c1.1,0.1,2.4,0.1,3.8,0.1c1.4,0,2.9,0,4.4-0.1c3-0.1,5.9-0.4,8.1-0.7c2.2-0.3,3.6-0.6,3.6-0.6L36,24.3z"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="console-application">
<id>io.github.gavinlyonsrepo.cylon</id>
<name>cylon</name>
<summary>Arch Linux distribution maintenance program</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<description>
<p>
A TUI (terminal user interface) which provides updates and maintains an Arch based Linux distribution.
</p>
<p>
The program is menu-based and written in bash. It is mainly text based but also uses dialog GUI&apos;s at a few points mainly for directory and file selection.
</p>
</description>
<icon type="stock">cylonicon</icon>
<categories>
<category>System</category>
<category>TerminalEmulator</category>
</categories>
<provides>
<binary>cylon</binary>
</provides>
</component>