curseofwar: Fix build with new cmake system

This commit is contained in:
Fredrik Fornwall 2017-01-15 19:40:59 +01:00 committed by Henrik Grimler
parent 5b81d162cb
commit 7b49acb07b

View File

@ -4,10 +4,9 @@ TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_VERSION=1.2.0
TERMUX_PKG_SRCURL=https://github.com/a-nikolaev/curseofwar/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_FOLDERNAME="curseofwar-$TERMUX_PKG_VERSION"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_make_install () {
mkdir -p $TERMUX_PREFIX/share/man/man6
cp curseofwar $TERMUX_PREFIX/bin
cp curseofwar.6 $TERMUX_PREFIX/share/man/man6
cp $TERMUX_PKG_SRCDIR/curseofwar.6 $TERMUX_PREFIX/share/man/man6
}