mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 20:30:53 +00:00
21 lines
652 B
Bash
21 lines
652 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/hboetes/mg
|
|
TERMUX_PKG_DESCRIPTION="microscopic GNU Emacs-style editor"
|
|
TERMUX_PKG_LICENSE="Public Domain"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="20250523"
|
|
TERMUX_PKG_SRCURL=https://github.com/hboetes/mg/archive/$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=2bb668474a9f4b9edd5bba12677cc5ac9fd788f5187a100c880d74c328c874d0
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d{8}"
|
|
TERMUX_PKG_DEPENDS="libbsd, ncurses"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_post_get_source() {
|
|
# force make
|
|
rm CMakeLists.txt meson.build
|
|
}
|
|
|
|
termux_step_pre_configure() {
|
|
CFLAGS+=" $CPPFLAGS -fcommon"
|
|
}
|