diff --git a/portproton/lure.sh b/portproton/lure.sh index 364a508..ed4c2c8 100644 --- a/portproton/lure.sh +++ b/portproton/lure.sh @@ -13,7 +13,11 @@ deps_arch=('bash' 'icoutils' 'wget' 'bubblewrap' 'zstd' 'cabextract' 'bc' 'tar' deps_debian=('bash') #build_deps=('') -sources=("git+https://github.com/Castro-Fidel/PortWINE.git") +#sources=("git+https://github.com/Castro-Fidel/PortWINE.git") +sources=("https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/portwine_install_script/PortProton_1.0" +"$pkgname.desktop" +"$pkgname.png" +'LICENSE') checksums=('SKIP') prepare() { @@ -31,10 +35,14 @@ 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 -dm755 "${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/"}{} \; +install -Dm755 "PortProton_$pkgver" "$pkgdir/usr/bin/$pkgname" +install -Dm644 "$pkgname.desktop" -t "$pkgdir/usr/share/applications/" +install -Dm644 "$pkgname.png" -t "$pkgdir/usr/share/pixmaps" +install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" +#install -Dm644 "${srcdir}/PortWINE/portproton.desktop" "${pkgdir}/${HOME}/.local/share/applications/portproton.desktop" +#install -dm755 "${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/"}{} \; }