New packages: cmus-2.7.1, dependencies: opusfile-0.8, libcue-2.1.0 (#844)
[termux-packages] / packages / cmus / build.sh
1 TERMUX_PKG_HOMEPAGE=https://cmus.github.io/
2 TERMUX_PKG_DESCRIPTION="Small, fast and powerful console music player"
3 TERMUX_PKG_VERSION=2.7.1
4 TERMUX_PKG_DEPENDS="libandroid-support, ncurses, libflac, libmad, libvorbis, opusfile, libcue, libpulseaudio"
5 TERMUX_PKG_SRCURL=https://github.com/cmus/cmus/archive/v${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_SHA256=8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165
7 TERMUX_PKG_FOLDERNAME=cmus-$TERMUX_PKG_VERSION
8 TERMUX_PKG_BUILD_IN_SRC=yes
9
10 termux_step_pre_configure() {
11 LD=$CC
12 }
13
14 termux_step_configure () {
15 ./configure prefix=$TERMUX_PREFIX
16 }