From 373a2fc0dcb6344678be8853270254335513fe9b Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 5 Nov 2022 18:21:39 +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=20PP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portproton/lure.sh | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/portproton/lure.sh b/portproton/lure.sh index bcd3fbc..c61951e 100644 --- a/portproton/lure.sh +++ b/portproton/lure.sh @@ -15,13 +15,10 @@ deps_debian=('bash') #sources=("git+https://github.com/Castro-Fidel/PortWINE.git") sources=("https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/portwine_install_script/PortProton_1.0" -"${name}.desktop" -"${name}.png" -'LICENSE') +"https://github.com/Castro-Fidel/PortProton_PKGBUILD.git") checksums=('SKIP' 'SKIP' -'SKIP' -'SKIP') +) prepare() { cd "${srcdir}" @@ -38,10 +35,10 @@ cd "${srcdir}" } package() { -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 -Dm755 "PortProton_${version}" "${pkgdir}/usr/bin/${name}" +install -Dm644 "${name}.desktop" -t "${pkgdir}/usr/share/applications/" +install -Dm644 "${name}.png" -t "${pkgdir}/usr/share/pixmaps" +install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}/" #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/"