termux-packages/packages/kibi/build.sh

15 lines
652 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_MAINTAINER="Ilaï Deutel @ilai-deutel"
TERMUX_PKG_VERSION=0.2.2
TERMUX_PKG_SRCURL=https://github.com/ilai-deutel/kibi/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=df0e2945d9d08fed3a0adbe73c73405641615eb55835675e06e91411fd541e91
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
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"
}