добавление portproton

This commit is contained in:
e.khramov 2022-11-02 16:36:15 +03:00
parent 7922820e22
commit e01e18931d

@ -16,7 +16,7 @@ prepare() {
cd "${srcdir}/PortWINE/"
echo "[Desktop Entry]" >>portproton.desktop
echo "Name=PortProton" >>portproton.desktop
echo "Exec=env /home/e.khramov@odk.local/PortProton/data/scripts/start.sh %F" >>portproton.desktop
echo "Exec=env /home/e.khramov@odk.local/LinuxGaming/PortProton/data/scripts/start.sh %F" >>portproton.desktop
echo "Type=Application" >>portproton.desktop
echo "Terminal=False" >>portproton.desktop
echo "Categories=Game" >>portproton.desktop
@ -29,6 +29,7 @@ echo "Icon=$HOME/PortProton/data/img/w.png" >>portproton.desktop
package() {
install -Dm644 "${srcdir}/PortWINE/portproton.desktop" "${pkgdir}/${HOME}/.local/share/applications/portproton.desktop"
install -dm0755 "${pkgdir}/${HOME}/.local/share/portproton"
ln - "${pkgdir}/${HOME}/.local/share/portproton" "${HOME}/LinuxGaming/PortProton/"
cd "${srcdir}/PortWINE/data_from_portwine/"
find -type d -exec install -d {,"${pkgdir}/${HOME}/.local/share/portproton/"}{} \;
find -type f -exec install -D {,"${pkgdir}/${HOME}/.local/share/portproton/"}{} \;