2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://facebook.github.io/PathPicker/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Facebook PathPicker - a terminal-based file picker"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-02-15 01:32:42 +01:00
|
|
|
TERMUX_PKG_VERSION=0.9.5
|
2022-02-15 05:25:38 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/facebook/PathPicker/archive/${TERMUX_PKG_VERSION}.tar.gz
|
2022-02-15 01:32:42 +01:00
|
|
|
TERMUX_PKG_SHA256=b0142676ed791085d619d9b3d28d28cab989ffc3b260016766841c70c97c2a52
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DEPENDS="bash,python"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2015-06-13 01:03:31 +02:00
|
|
|
_PKG_DIR=$TERMUX_PREFIX/share/pathpicker
|
2022-02-15 05:25:38 +01:00
|
|
|
rm -Rf $_PKG_DIR src/tests
|
2015-06-13 01:03:31 +02:00
|
|
|
mkdir -p $_PKG_DIR
|
|
|
|
cp -Rf src/ $_PKG_DIR
|
|
|
|
cp fpp $_PKG_DIR/fpp
|
|
|
|
cd $TERMUX_PREFIX/bin
|
|
|
|
ln -f -s ../share/pathpicker/fpp fpp
|
|
|
|
chmod +x fpp
|
|
|
|
}
|