termux-packages/packages/ranger/build.sh

18 lines
613 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://ranger.nongnu.org/
TERMUX_PKG_DESCRIPTION="File manager with VI key bindings"
2017-01-15 19:37:14 +01:00
TERMUX_PKG_VERSION=1.8.1
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://ranger.nongnu.org/ranger-${TERMUX_PKG_VERSION}.tar.gz
2017-03-27 05:11:31 +02:00
TERMUX_PKG_SHA256=1433f9f9958b104c97d4b23ab77a2ac37d3f98b826437b941052a55c01c721b4
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DEPENDS="python, file"
TERMUX_PKG_FOLDERNAME=ranger-${TERMUX_PKG_VERSION}
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install () {
2017-01-15 19:37:14 +01:00
python3.6 setup.py install --prefix=$TERMUX_PREFIX --force
2015-06-13 01:03:31 +02:00
}
termux_step_post_massage () {
find . -path '*/__pycache__*' -delete
}