37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
24 lines
886 B
Bash
24 lines
886 B
Bash
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_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=7.0.10
|
|
TERMUX_PKG_SRCURL=https://github.com/haiwen/seafile/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=9ac0a1c25e6f2bf874b5b080a165319f29cb3d03f044da8db8aed8412c8b4f45
|
|
TERMUX_PKG_DEPENDS="ccnet, libcurl, python"
|
|
TERMUX_PKG_BREAKS="seafile-client-dev"
|
|
TERMUX_PKG_REPLACES="seafile-client-dev"
|
|
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() {
|
|
#the package has trouble to prepare some headers
|
|
cd $TERMUX_PKG_SRCDIR/lib
|
|
python $TERMUX_PREFIX/bin/searpc-codegen.py $TERMUX_PKG_SRCDIR/lib/rpc_table.py
|
|
}
|