termux-packages/packages/dte/build.sh

20 lines
692 B
Bash
Raw Normal View History

2019-10-18 05:26:54 +02:00
TERMUX_PKG_HOMEPAGE='https://craigbarnes.gitlab.io/dte/'
TERMUX_PKG_DESCRIPTION='A small, configurable console text editor'
TERMUX_PKG_LICENSE='GPL-2.0'
TERMUX_PKG_MAINTAINER="@termux"
2021-05-04 16:11:53 +02:00
TERMUX_PKG_VERSION=1.10
2019-10-18 05:26:54 +02:00
TERMUX_PKG_SRCURL="https://craigbarnes.gitlab.io/dist/dte/dte-${TERMUX_PKG_VERSION}.tar.gz"
2021-05-04 16:11:53 +02:00
TERMUX_PKG_SHA256=db62aab235764f735adc8378f796d6474596582b7dae357e0bddf31304189800
2019-10-18 05:26:54 +02:00
TERMUX_PKG_DEPENDS="libandroid-support, libandroid-glob, libiconv, ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
make \
-j$TERMUX_MAKE_PROCESSES V=1 \
LDLIBS='-landroid-support -landroid-glob -liconv -lcurses'
2019-10-18 05:26:54 +02:00
}
termux_step_make_install() {
make install V=1 prefix="$TERMUX_PREFIX"
}