This commit is contained in:
Евгений Храмов 2024-06-10 01:22:44 +03:00
parent 19dcc01da5
commit 412283dc6a

@ -11,7 +11,7 @@ conflicts=('protonup-qt')
deps_arch=('pyside6' 'python-inputs' 'python-psutil' 'python-requests' 'python-setproctitle' 'python-steam' 'python-vdf' 'python-pyxdg' 'python-pyaml' 'qt6-tools')
build_deps_arch=('python3-build' 'python-setuptools' 'python-wheel')
build_deps_redos=('python3-build' 'python3-installer' 'python3-setuptools' 'python3-wheel')
build_deps_redos=('python3-build' 'python3-installer' 'python3-setuptools' 'python3-steam' 'python3-zstandard' 'python3-wheel')
deps_rosa=('python3-psutil' 'python3-requests' 'python3-setproctitle' 'python3-pyxdg' 'qt6-qttools')
build_deps_rosa=('python3-build' 'python3-setuptools' 'python3-wheel' 'python3-pip')
#deps=('')
@ -19,6 +19,14 @@ build_deps_rosa=('python3-build' 'python3-setuptools' 'python3-wheel' 'python3-p
sources=("https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${version}.tar.gz")
checksums=('SKIP')
prepare() {
if [$distro==redos]; then
sudo pip3 install pyside6
elif [$distro==rosa]; then
sudo pip install pyside6 inputs steam vdf pyaml
fi
}
build() {
cd "${srcdir}/ProtonUp-Qt-${version}"
python -m build --wheel --no-isolation