Files
RedBear-OS/local/recipes/tui/tlc/dist/PKGBUILD
T
vasilito 0990a6996a tlc: Linux package artifacts (dist/) + PLAN §17.8 completion sync
Adds dist/ packaging skeleton for the host Linux build:

  dist/tlc-1.0.0/INSTALL.sh    — generic tarball installer (system or --user)
  dist/tlc-1.0.0/man/tlc.1     — man page for the file manager
  dist/tlc-1.0.0/man/tlcedit.1 — man page for the standalone editor
  dist/tlc-1.0.0/man/tlcview.1 — man page for the standalone viewer
  dist/PKGBUILD                — Arch Linux build recipe
  dist/build_deb.sh            — Debian/Ubuntu .deb builder
  dist/deb/DEBIAN/control      — Debian control file (binary-arch template)
  dist/.gitignore              — excludes built binaries + config (rebuilt at packaging)

Build outputs (NOT in git, produced locally on demand):

  tlc-1.0.0-linux-x86_64.tar.gz   5.5 MB   generic tarball
  tlc_1.0.0-1_amd64.deb          2.3 MB   Debian package

PLAN.md §17.8 added documenting that §17.4 P1-P4 are now complete
(commit 6c30edaf3e already landed). The §17.6 acceptance criterion
is met: grep for raw 'frame.render_widget(Clear' returns exactly 4
sites (terminal/popup.rs itself, filemanager/tree.rs full-screen,
and the two F9 top menu bars — all intentional). widget/dialog.rs
no longer appears.

P5 (SaveBeforeClose Y/N/Esc legend), P6 (viewer/editor SaveBeforeClose
unification), P7 (~15 decorative key-legend hints) remain deferred —
see §17.4 for rationale.

Header status line bumped to reflect P1-P4 completion + P5-P7 deferral.
2026-06-21 01:44:17 +03:00

33 lines
1.2 KiB
Bash

# Maintainer: Red Bear OS <https://gitea.redbearos.org/vasilito/redbear-os.git>
pkgname=tlc
pkgver=1.0.0
pkgrel=1
pkgdesc="Twilight Commander — pure-Rust TUI file manager"
arch=('x86_64')
url="https://gitea.redbearos.org/vasilito/redbear-os.git"
license=('MIT')
depends=()
makedepends=()
source=("https://gitea.redbearos.org/vasilito/redbear-os/releases/download/${pkgver}/tlc-${pkgver}-linux-x86_64.tar.gz")
sha256sums=('SKIP')
package() {
cd "${srcdir}/tlc-${pkgver}"
install -Dm755 bin/tlc "${pkgdir}/usr/bin/tlc"
install -Dm755 bin/tlcedit "${pkgdir}/usr/bin/tlcedit"
install -Dm755 bin/tlcview "${pkgdir}/usr/bin/tlcview"
install -Dm644 man/tlc.1 "${pkgdir}/usr/share/man/man1/tlc.1"
install -Dm644 man/tlcedit.1 "${pkgdir}/usr/share/man/man1/tlcedit.1"
install -Dm644 man/tlcview.1 "${pkgdir}/usr/share/man/man1/tlcview.1"
install -Dm644 config/default.toml \
"${pkgdir}/etc/xdg/tlc/default.toml"
install -dm755 "${pkgdir}/usr/share/tlc/locales"
install -m644 locales/*.yml \
-t "${pkgdir}/usr/share/tlc/locales/"
install -dm755 "${pkgdir}/usr/share/tlc/mc-skins"
cp -r mc-skins/* "${pkgdir}/usr/share/tlc/mc-skins/"
}