mc: multple fixes (#2367)
[termux-packages] / packages / ranger / build.sh
1 TERMUX_PKG_HOMEPAGE=https://ranger.github.io/
2 TERMUX_PKG_DESCRIPTION="File manager with VI key bindings"
3 TERMUX_PKG_VERSION=1.9.1
4 TERMUX_PKG_SHA256=7c32f96080030866b7b95740c40b17a37d6ee86055e054e9e0759e79e2bf6b9a
5 TERMUX_PKG_SRCURL=https://github.com/ranger/ranger/archive/v${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_DEPENDS="python, file"
7 TERMUX_PKG_BUILD_IN_SRC=yes
8 TERMUX_PKG_PLATFORM_INDEPENDENT=yes
9
10 termux_step_make() {
11 echo Skipping make step...
12 }
13
14 termux_step_make_install() {
15 python3.6 setup.py install --prefix=$TERMUX_PREFIX --force
16 }
17
18 termux_step_post_massage() {
19 find . -path '*/__pycache__*' -delete
20 }