termux-packages/packages/pathpicker/build.sh

21 lines
701 B
Bash
Raw Normal View History

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"
2017-01-30 00:29:57 +01:00
TERMUX_PKG_VERSION=0.7.2
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=https://github.com/facebook/PathPicker/archive/${TERMUX_PKG_VERSION}.tar.gz
2017-01-30 00:29:57 +01:00
TERMUX_PKG_SHA256=e6376fe627474e3e3109f9f913327098e84887fce67a8d1e7d12835ff04ee620
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DEPENDS="bash,python"
TERMUX_PKG_BUILD_IN_SRC=yes
2016-04-25 09:39:24 +02:00
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
2015-06-13 01:03:31 +02:00
termux_step_make_install () {
_PKG_DIR=$TERMUX_PREFIX/share/pathpicker
rm -Rf $_PKG_DIR
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
}