From b607c60e14defda1c128eddf8846dd8f8a704f1d Mon Sep 17 00:00:00 2001 From: Rafael Baboni Dominiquini Date: Sat, 6 Dec 2025 16:09:49 -0300 Subject: [PATCH] Published: 0.28.6 --- .SRCINFO | 20 ++++++++++++++++++++ .gitignore | 5 +++++ .nvchecker.toml | 5 +++++ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 .nvchecker.toml create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2c1c08df8d26 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = spotatui-bin + pkgdesc = A Spotify client for the terminal written in Rust, powered by Ratatui + pkgver = 0.28.6 + pkgrel = 1 + url = https://github.com/LargeModGames/spotatui + arch = x86_64 + license = MIT + depends = glibc + depends = gcc-libs + depends = openssl + provides = spotatui + conflicts = spotatui + source = LICENSE-0.28.6::https://raw.githubusercontent.com/LargeModGames/spotatui/v0.28.6/LICENSE + source = README-0.28.6.md::https://raw.githubusercontent.com/LargeModGames/spotatui/v0.28.6/README.md + sha256sums = b47ad91f512f5ae715df2888abf19ff0172c75de71b6423f836174bae8f8161e + sha256sums = 1a007709d58eeee2b4f7fc1858d441f288f3dd0d92f3ed12abe9bf32566ea1fb + source_x86_64 = spotatui-x86_64-0.28.6.tgz::https://github.com/LargeModGames/spotatui/releases/download/v0.28.6/spotatui-linux-x86_64.tar.gz + sha256sums_x86_64 = c6e2b8e278bf6ff86b10dfd4022ea575f84c8e5deac82e6dcaa564bf151d0764 + +pkgname = spotatui-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..61d143428d73 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!.nvchecker.toml +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 000000000000..fc7ffe727fa0 --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,5 @@ +[spotatui-bin] +source = "github" +github = "LargeModGames/spotatui" +use_latest_release = true +prefix = "v" diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a2f0e3312f4a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Rafael Dominiquini + +# https://github.com/LargeModGames/spotatui/releases/download/v0.28.6/spotatui-linux-x86_64.tar.gz +_pkgauthor=LargeModGames +_pkgname=spotatui +pkgname=${_pkgname}-bin +pkgdesc="A Spotify client for the terminal written in Rust, powered by Ratatui" + +pkgver=0.28.6 +pkgrel=1 +_pkgvername=v${pkgver} + +arch=('x86_64') +_barch=('x86_64') + +url="https://github.com/${_pkgauthor}/${_pkgname}" +_urlraw="https://raw.githubusercontent.com/${_pkgauthor}/${_pkgname}/${_pkgvername}" + +license=('MIT') + +provides=("${_pkgname}") +conflicts=("${_pkgname}") +depends=('glibc' 'gcc-libs' 'openssl') + +source=("LICENSE-${pkgver}::${_urlraw}/LICENSE" + "README-${pkgver}.md::${_urlraw}/README.md") +source_x86_64=("${_pkgname}-${arch[0]}-${pkgver}.tgz::${url}/releases/download/${_pkgvername}/${_pkgname}-linux-${_barch[0]}.tar.gz") +sha256sums=('b47ad91f512f5ae715df2888abf19ff0172c75de71b6423f836174bae8f8161e' + '1a007709d58eeee2b4f7fc1858d441f288f3dd0d92f3ed12abe9bf32566ea1fb') +sha256sums_x86_64=('c6e2b8e278bf6ff86b10dfd4022ea575f84c8e5deac82e6dcaa564bf151d0764') + + +package() { + cd "${srcdir}/" || exit + + install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" + + install -Dm644 "README-${pkgver}.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md" + + install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}