shfmt
This commit is contained in:
@ -21,25 +21,25 @@ sources=("https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v2.7.4.tar.
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"
|
||||
echo "#!/usr/bin/env bash" >>pupgui2.sh
|
||||
echo "/usr/bin/python -m pupgui2 \"\$@\"" >>pupgui2.sh
|
||||
cd "${srcdir}"
|
||||
echo "#!/usr/bin/env bash" >>pupgui2.sh
|
||||
echo "/usr/bin/python -m pupgui2 \"\$@\"" >>pupgui2.sh
|
||||
|
||||
if [$distro==redos]; then
|
||||
sudo pip install pyside6 inputs steam vdf pyaml
|
||||
elif [$distro==rosa]; then
|
||||
sudo pip install pyside6 inputs steam vdf pyaml
|
||||
fi
|
||||
if [$distro==redos]; then
|
||||
sudo pip install pyside6 inputs steam vdf pyaml
|
||||
elif [$distro==rosa]; then
|
||||
sudo pip install pyside6 inputs steam vdf pyaml
|
||||
fi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "ProtonUp-Qt-${version}"
|
||||
#python -m build --wheel --no-isolation
|
||||
cd "ProtonUp-Qt-${version}"
|
||||
#python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
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}"
|
||||
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}"
|
||||
}
|
||||
|
Reference in New Issue
Block a user