From b8edc48ef15728764cd80365a6a5e28bc7871b23 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 5 Nov 2022 18:13:27 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20portproton?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portproton/lure.sh | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) 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/"}{} \; }