add rosa scripts

This commit is contained in:
Евгений Храмов 2022-11-08 11:00:45 +03:00
parent e793d683f5
commit 0966232ded

@ -12,6 +12,8 @@ deps_arch=('pyside6' 'python-inputs' 'python-psutil' 'python-requests' 'python-s
build_deps_arch=('python3-build' 'python-setuptools' 'python-wheel')
deps_redos=('python3-psutil' 'python3-requests' 'python3-setproctitle' 'python3-pyxdg' 'qt6-tools')
build_deps_redos=('python3-build' 'python3-setuptools' 'python3-wheel' 'python3-pip')
deps_rosa=('python3-psutil' 'python3-requests' 'python3-setproctitle' 'python3-pyxdg' 'qt6-tools')
build_deps_rosa=('python3-build' 'python3-setuptools' 'python3-wheel' 'python3-pip')
#deps=('')
sources=("https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v2.7.4.tar.gz")
@ -25,6 +27,8 @@ echo "/usr/bin/python -m pupgui2 \"\$@\"" >>pupgui2.sh
if [$distro==redos];
then
sudo pip install pyside6 inputs steam vdf pyaml
elif [$distro==rosa];
sudo pip install pyside6 inputs steam vdf pyaml
fi
}
@ -34,6 +38,7 @@ cd "ProtonUp-Qt-${version}"
}
package() {
cd "ProtonUp-Qt-${version}"
#python -m installer --destdir="${pkgdir}" dist/*.whl
cp -r share "${pkgdir}/usr/"
install -Dm755 "${srcdir}/pupgui2.sh" "${pkgdir}/usr/bin/${name}"