1e64bbc8b0
calcurse-caldav requires python and the httplib2 python module, so make subpackage depend on python and install httplib2 through pip in postinst script.
11 lines
366 B
Bash
11 lines
366 B
Bash
TERMUX_SUBPKG_INCLUDE="bin/calcurse-caldav"
|
|
TERMUX_SUBPKG_DESCRIPTION="Sync calcurse with remote caldav calendar"
|
|
TERMUX_SUBPKG_DEPENDS="python"
|
|
TERMUX_SUBPKG_REPLACES="calcurse (<< 4.7.1-1)"
|
|
TERMUX_SUBPKG_BREAKS="calcurse (<< 4.7.1-1)"
|
|
|
|
termux_step_create_subpkg_debscripts() {
|
|
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
|
|
echo "pip3 install httplib2" >> postinst
|
|
}
|