python-qmk: fix launcher crash
This commit is contained in:
@@ -4,7 +4,7 @@ _realname=qmk
|
||||
pkgbase=mingw-w64-python-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
||||
pkgver=1.1.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="CLI tool for customizing supported mechanical keyboards. (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
|
||||
@@ -47,13 +47,8 @@ package() {
|
||||
cd "${srcdir}/python-build-${MSYSTEM}"
|
||||
|
||||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \
|
||||
"${MINGW_PREFIX}"/bin/python -m pip install dist/*.whl \
|
||||
--compile \
|
||||
--no-deps \
|
||||
--no-warn-script-location \
|
||||
--ignore-installed \
|
||||
--prefix="${MINGW_PREFIX}" \
|
||||
--root="${pkgdir}"
|
||||
"${MINGW_PREFIX}"/bin/python -m installer --no-compile-bytecode --prefix=${MINGW_PREFIX} \
|
||||
--destdir="${pkgdir}" dist/*.whl
|
||||
|
||||
install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user