mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-04 04:48:55 +00:00
17 lines
425 B
Bash
17 lines
425 B
Bash
TERMUX_SUBPKG_DESCRIPTION="units_cur Python script"
|
|
TERMUX_SUBPKG_INCLUDE="
|
|
bin/units_cur
|
|
"
|
|
TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true
|
|
TERMUX_SUBPKG_DEPENDS="python, python-pip"
|
|
TERMUX_SUBPKG_BREAKS="units (<< 2.22)"
|
|
TERMUX_SUBPKG_REPLACES="units (<< 2.22)"
|
|
|
|
termux_step_create_subpkg_debscripts() {
|
|
cat <<- EOF > ./postinst
|
|
#!$TERMUX_PREFIX/bin/sh
|
|
echo "Installing dependencies through pip..."
|
|
pip3 install requests
|
|
EOF
|
|
}
|