Skip to content

Instantly share code, notes, and snippets.

@adsr

adsr/mle.cygport Secret

Last active June 8, 2022 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adsr/4ecb4113f2d9c0e4ee389a800c0fd15b to your computer and use it in GitHub Desktop.
Save adsr/4ecb4113f2d9c0e4ee389a800c0fd15b to your computer and use it in GitHub Desktop.
NAME="mle"
VERSION=1.5.0
RELEASE=1
CATEGORY="Editors"
SUMMARY="Flexible terminal-based text editor"
DESCRIPTION="mle is a small, flexible, terminal-based text editor written in C.
Notable features include: full Unicode support, syntax highlighting, scriptable
rc file, macros, search and replace (PCRE), window splitting, multiple cursors,
and integration with various shell commands."
HOMEPAGE="https://github.com/adsr/mle"
SRC_URI="https://github.com/adsr/mle/archive/refs/tags/v${VERSION}.tar.gz"
PATCH_URI="
https://github.com/adsr/mle/commit/e4dc4314b02a324701d9ae9873461d34cce041e5.patch?skip_locale_dep_test
https://github.com/adsr/mle/commit/bc05ec0eee4143d824010c6688fce526550ed508.patch?fix_input_trail
"
BUILD_REQUIRES="libpcre-devel uthash-devel liblua-devel"
src_compile() {
cygmake
}
src_test() {
cd ${S}
cygtest
}
src_install() {
cd ${S}
cyginstall prefix=/usr
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment