termux-packages/packages/no-more-secrets/build.sh

16 lines
708 B
Bash
Raw Normal View History

2021-10-16 12:01:29 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/bartobri/no-more-secrets
TERMUX_PKG_DESCRIPTION="This project provides a command line tool called nms that recreates the famous data decryption effect."
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.0.1
TERMUX_PKG_SRCURL=https://github.com/bartobri/no-more-secrets/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4422e59bb3cf62bca3c73d1fdae771b83aab686cd044f73fe14b1b9c2af1cb1b
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="all-ncurses"
termux_step_pre_configure() {
CFLAGS+=" $(pkg-config --cflags ncurses)"
LDFLAGS+=" $(pkg-config --libs ncurses)"
}