0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 14:13:36 +00:00
Twaik Yont 11ea8aff34 Removing inactive maintainers
Removing maintainers if there was no activity after pull request merging or if there was no activity in the last two years
[no ci]
2024-05-21 10:21:32 +03:00

25 lines
879 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/Aanok/jftui
TERMUX_PKG_DESCRIPTION="jftui is a minimalistic, lightweight C99 command line client for the open source Jellyfin media server."
TERMUX_PKG_LICENSE="Unlicense"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.7.2"
TERMUX_PKG_SRCURL=https://github.com/Aanok/jftui/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=692c914408f3cba6e052064a55967f872dcb7387f4e6ce50edca2adf865700a3
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libcurl, yajl, mpv"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
sed -i 's| -march=native||' Makefile
sed -i 's|^CFLAGS=|override CFLAGS+=|' Makefile
sed -i 's|^LFLAGS=|override LFLAGS+=|' Makefile
}
termux_step_make() {
make CFLAGS="$CPPFLAGS" LFLAGS="$LDFLAGS"
}
termux_step_make_install() {
install -Dm700 $TERMUX_PKG_SRCDIR/build/jftui "$TERMUX_PREFIX/bin/jftui"
}