xcb-proto: Avoid running scripts on sourcing
This commit is contained in:
parent
12682a567b
commit
1db3dad382
@ -11,5 +11,7 @@ TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
TERMUX_PKG_CONFLICTS="xcbproto"
|
||||
TERMUX_PKG_REPLACES="xcbproto"
|
||||
|
||||
python_version=$(. $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="lib/python${python_version}/site-packages/xcbgen/__pycache__"
|
||||
termux_step_configure() {
|
||||
python_version=$(. $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="lib/python${python_version}/site-packages/xcbgen/__pycache__"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user