🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
# Receptura PaganOS (pagbuild) — Luna Editor.
#
# Repozytorium: https://github.com/LunaDesktop/editor
# Lekki edytor tekstu i kodu na libLunie (bez GTK/Qt). Wtyczki nie są
# wbudowane — instaluje się je w aplikacji z adresu GitHuba
# (np. AI Writer: https://github.com/LunaDesktop/luna-editor-ai-writer),
# dlatego pakiet wymaga `curl` (lub `wget`) oraz `tar`.
pkgname: luna-editor
pkgver: '0.2.4'
pkgrel: 7
pkgdesc: 'Luna Editor — edytor tekstu i kodu z podświetlaniem składni i wtyczkami instalowanymi z GitHuba'
url: 'https://github.com/LunaDesktop/editor'
arch: x86_64
license:
- GPL-3.0-or-later
depends:
- libluna
- libxkbcommon
- dejavu-ttf
- curl
- tar
- xdg-utils
makedepends:
- rustc
source:
- luna-0.0.20.tar.gz
- eu.luna.Editor.desktop
sha256sums:
- 430a17eddb428b89736764e033d3c85b1f052b9e766b1b5478c00b8e9f737f23
- SKIP
build: |
export CARGO_NET_GIT_FETCH_WITH_CLI=true
cd luna-0.0.20/apps/luna-editor
cargo build --release --locked --bins
install -Dm755 target/release/luna-editor "${PKGDIR}/usr/bin/luna-editor"
install -Dm644 ../../../eu.luna.Editor.desktop \
"${PKGDIR}/usr/share/applications/eu.luna.Editor.desktop"
install -Dm644 LICENSE "${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 README.md "${PKGDIR}/usr/share/doc/${pkgname}/README.md"
# Dokumentacja wtyczki-przykładu (sama wtyczka jest instalowana w aplikacji).
install -Dm644 plugins/ai-writer/README.md \
"${PKGDIR}/usr/share/doc/${pkgname}/ai-writer.md"
package: |
true