seafile-client: explicitly specify python interpreter

Configuration script still picked default Python interpreter which
is 3.8 but Termux version is 3.9.

Now finally fixes the https://github.com/termux/termux-packages/issues/6006.
This commit is contained in:
Leonid Pliushch 2020-11-08 19:33:21 +02:00
parent 28d03a0178
commit 64fbee2ab4
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://seafile.com
TERMUX_PKG_DESCRIPTION="Seafile is a file syncing and sharing software with file encryption and group sharing"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=7.0.9
TERMUX_PKG_REVISION=5
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL=https://github.com/haiwen/seafile/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f127b735e5d4cbd7e692d52eda54113f1a4ca31bd8328fbccf01a5462bbba5e8
TERMUX_PKG_DEPENDS="ccnet, libcurl, python"
@ -13,6 +13,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
./autogen.sh
export CPPFLAGS="-I$TERMUX_PKG_SRCDIR/lib $CPPFLAGS"
export PYTHON="python3.9"
}
termux_step_post_configure() {