добавление portproton

This commit is contained in:
e.khramov 2022-11-02 14:53:01 +03:00
parent 819b8005bd
commit 6846e51d85

@ -15,10 +15,19 @@ sources=("git+https://github.com/Castro-Fidel/PortWINE.git")
checksums=('SKIP')
prepare() {
cd "${srcdir}"
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 "Type=Application" >>portproton.desktop
echo "Terminal=False" >>portproton.desktop
echo "Categories=Game" >>portproton.desktop
echo "StartupNotify=true" >>portproton.desktop
echo "MimeType=application/x-ms-dos-executable;application/x-wine-extension-msp;application/x-msi;application/x-msdos-program" >>portproton.desktop
echo "Path=$HOME/PortProton/data/scripts/" >>portproton.desktop
echo "Icon=$HOME/PortProton/data/img/w.png" >>portproton.desktop
}
package() {
#install -Dm755
install -Dm755 ./data_from_portwine "${pkgdir}/${HOME}/.local/share/portproton"
}