Update to v0.3.4

This commit is contained in:
runa 2025-12-28 17:05:02 +00:00
parent 5762366307
commit 198d236f93
2 changed files with 30 additions and 44 deletions

View file

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

View file

@ -1,34 +1,24 @@
# Maintainer: ninian <mcfadzean.org.uk ta linux>
# Maintainer: runa <runa-dev@proton.me>
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"
}