Added: kindling

This commit is contained in:
juandmcr committed 2026-10-08 00:43:01 +02:00
1 parent e09047cf0f
commit 6ea0574fd3
9 files changed
+45 -1

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
# Template file for 'kindling'
pkgname=kindling
version=1.3.0
revision=1
archs="x86_64 aarch64"
build_style=cargo
hostmakedepends="cargo nodejs pkg-config"
makedepends="libwebkit2gtk41-devel libsoup3-devel libayatana-appindicator-devel librsvg-devel patchelf"
depends="libwebkit2gtk41 libayatana-appindicator"
short_desc="Free, open-source fiction writing software for plotters and outliners"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="MIT"
homepage="https://kindlingwriter.com"
distfiles="https://github.com/smith-and-web/kindling/archive/refs/tags/v${version}.tar.gz"
checksum=eed2cdb94e3cfda688a0cf8c853c022b64bd64d31e763453f021521a4f78a733
make_check=no # Tests require graphical env and a running WebDriver which aren't available in xbps-src chroot.
pre_build() {
npm ci --ignore-scripts
}
do_build() {
npm run tauri build -- --no-bundle
}
do_install() {
if [ -n "${CARGO_BUILD_TARGET}" ]; then
vbin "src-tauri/target/${CARGO_BUILD_TARGET}/release/kindling"
else
vbin src-tauri/target/release/kindling
fi
vinstall src-tauri/icons/128x128.png 644 usr/share/icons/hicolor/128x128/apps kindling.png
vinstall "${FILESDIR}/kindling.desktop" 644 usr/share/applications
vlicense LICENSE
}