добавление build, package
This commit is contained in:
parent
db562d0efd
commit
f6c170a24b
@ -19,12 +19,22 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
if [distro=redos]
|
echo "#!/usr/bin/env bash" >>pupgui2.sh
|
||||||
|
echo "usr/bin/python -m pupgui2 \"\$@\"" >>pupgui2.sh
|
||||||
|
|
||||||
|
if [${distro}=redos]
|
||||||
then
|
then
|
||||||
sudo pip install pyside6 inputs steam vdf pyaml
|
sudo pip install pyside6 inputs steam vdf pyaml
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
build() {
|
||||||
install -Dm755 "" "${pkgdir}/usr/bin/${name}"
|
cd "ProtonUp-Qt-${version}"
|
||||||
|
python -m build --wheel --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||||
|
cp -r share "${pkgdir}/usr/"
|
||||||
|
install -Dm755 "${srcdir}/pupgui2.sh" "${pkgdir}/usr/bin/${name}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user