2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://termux.com/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Some tools for Termux"
|
2015-07-18 11:42:44 +02:00
|
|
|
TERMUX_PKG_VERSION=0.5
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_make_install () {
|
2015-07-23 23:36:10 +02:00
|
|
|
$CXX $CFLAGS $LDFLAGS -std=c++14 -Wall -Wextra -pedantic -Werror $TERMUX_PKG_BUILDER_DIR/*.cpp -o $TERMUX_PREFIX/bin/termux-elf-cleaner
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2015-07-18 11:42:44 +02:00
|
|
|
rm -f $TERMUX_PREFIX/bin/{am,termux-user,termux-fix-shebang,termux-reload-style,chsh,termux-open-url}
|
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/{am,termux-user,termux-fix-shebang,termux-reload-style,chsh,termux-open-url} $TERMUX_PREFIX/bin/
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
sed -i "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" $TERMUX_PREFIX/bin/termux-fix-shebang
|
|
|
|
}
|