From 198d236f93253ff64267b7597ef11b5d019168bf Mon Sep 17 00:00:00 2001 From: runa Date: Sun, 28 Dec 2025 17:05:02 +0000 Subject: [PATCH] Update to v0.3.4 --- .SRCINFO | 26 +++++++++++--------------- PKGBUILD | 48 +++++++++++++++++++----------------------------- 2 files changed, 30 insertions(+), 44 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c69646e89dc5..d32900f90b0e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,19 +1,15 @@ -# Generated by mksrcinfo v8 -# Sun Dec 3 16:28:49 UTC 2017 pkgbase = runa - pkgdesc = Fast and light desktop application launcher - pkgver = 5.7.1 + pkgdesc = A fast and lightweight console file browser written in Rust + pkgver = 0.3.4 pkgrel = 1 - url = http://appstogo.mcfadzean.org.uk/linux.html#runa - arch = any - license = custom:MPL2 - depends = bash - depends = dmenu - depends = libnotify - optdepends = gxmessage: to view .desktop files - optdepends = perl-file-mimeinfo: to better determine mimetypes - source = http://appstogo.mcfadzean.org.uk/dl/runa/runa-5.7.1.tar.gz - md5sums = 04010f10ae13753ed4887a775726c365 + url = https://github.com/alexm-dev/runa + arch = x86_64 + arch = aarch64 + license = MIT + makedepends = rust + makedepends = cargo + depends = gcc-libs + source = runa-tui-0.3.4.tar.gz::https://static.crates.io/crates/runa-tui/runa-tui-0.3.4.crate + sha256sums = 26c3d351d444ae8c2cb88ce93ea15b61d0d54cbebc0f0d764c2f4e662ae2bd03 pkgname = runa - diff --git a/PKGBUILD b/PKGBUILD index ff6f51841802..f59a1d68b13f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,34 +1,24 @@ -# Maintainer: ninian - +# Maintainer: runa pkgname=runa -pkgver=5.7.1 +_pkgname=runa-tui +pkgver=0.3.4 pkgrel=1 -pkgdesc="Fast and light desktop application launcher" -arch=('any') -url="http://appstogo.mcfadzean.org.uk/linux.html#runa" -license=('custom:MPL2') -depends=('bash' 'dmenu' 'libnotify') -optdepends=('gxmessage: to view .desktop files' 'perl-file-mimeinfo: to better determine mimetypes') -source=("http://appstogo.mcfadzean.org.uk/dl/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('04010f10ae13753ed4887a775726c365') +pkgdesc="A fast and lightweight console file browser written in Rust" +arch=('x86_64' 'aarch64') +url="https://github.com/alexm-dev/runa" +license=('MIT') +depends=('gcc-libs') +makedepends=('rust' 'cargo') +source=("$_pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$_pkgname/$_pkgname-$pkgver.crate") +sha256sums=('26c3d351d444ae8c2cb88ce93ea15b61d0d54cbebc0f0d764c2f4e662ae2bd03') + +build() { + cd "$_pkgname-$pkgver" + cargo build --release --locked +} package() { - cd "$srcdir/${pkgname}-$pkgver" - gzip ${pkgname}.1 - install -Dm755 ${pkgname} "$pkgdir/usr/bin/${pkgname}" - install -Dm644 ${pkgname}.png "$pkgdir/usr/share/pixmaps/${pkgname}.png" - install -Dm644 ${pkgname}.desktop "$pkgdir/usr/share/applications/${pkgname}.desktop" - install -Dm644 ${pkgname}-assoc.desktop "$pkgdir/usr/share/applications/${pkgname}-assoc.desktop" - install -Dm644 ${pkgname}-desktop.desktop "$pkgdir/usr/share/applications/${pkgname}-desktop.desktop" - install -Dm644 ${pkgname}.1.gz "$pkgdir/usr/share/man/man1/${pkgname}.1.gz" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" - install -Dm644 README "$pkgdir/usr/share/doc/${pkgname}/README" - install -Dm644 CHANGELOG "$pkgdir/usr/share/doc/${pkgname}/CHANGELOG" - install -Dm755 xdg-open "$pkgdir/usr/share/doc/${pkgname}/xdg-open" - msg "Configuration and favourites files will be created the first time Runa is executed" - msg "See 'man ${pkgname}' and /usr/share/doc/${pkgname}/README for more information" -# msg "IMPORTANT: This version has changed the -M and -P commandline options" -# msg "IMPORTANT:" -# msg "This version changes the configuration file format; recreate and merge with old configuration as required" -# msg "Refresh the applications cache using -C option after installing this version" + cd "$_pkgname-$pkgver" + install -Dm755 "target/release/rn" "$pkgdir/usr/bin/rn" + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }