mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-19 07:55:01 +00:00
Explicitly declare termux_setup_rust in build script after removal in termux_step_make_install. This is done to quickly identify which packages are Rust based. %ci:no-build
20 lines
746 B
Bash
20 lines
746 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/ilai-deutel/kibi
|
|
TERMUX_PKG_DESCRIPTION="A tiny terminal text editor, written in Rust"
|
|
TERMUX_PKG_LICENSE="Apache-2.0, MIT"
|
|
TERMUX_PKG_LICENSE_FILE="LICENSE-APACHE, LICENSE-MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.3.1"
|
|
TERMUX_PKG_SRCURL=https://github.com/ilai-deutel/kibi/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=2905743c8fc065054d3776e9b16fe89903cc0547eaedd8d33b66d2e29ceb0191
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_rust
|
|
}
|
|
|
|
termux_step_post_make_install() {
|
|
install -Dm644 "config_example.ini" "$TERMUX_PREFIX/etc/kibi/config.ini"
|
|
install -Dm644 syntax.d/* -t "$TERMUX_PREFIX/share/kibi/syntax.d"
|
|
}
|