commit:     9ad83f7a31849bb2fa36a9efb76c837555f7ec35
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Jul 15 12:29:51 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jul 15 12:33:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ad83f7a

gui-apps/aylurs-gtk-shell: include ${PV} in SRC_URI file names

Remove bad constant-value variable references
Add missing die

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 gui-apps/aylurs-gtk-shell/Manifest                         |  2 +-
 gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild | 11 ++++-------
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/gui-apps/aylurs-gtk-shell/Manifest 
b/gui-apps/aylurs-gtk-shell/Manifest
index 5c9b96def..9d42748f4 100644
--- a/gui-apps/aylurs-gtk-shell/Manifest
+++ b/gui-apps/aylurs-gtk-shell/Manifest
@@ -1,2 +1,2 @@
+DIST aylurs-gtk-shell-1.8.2-node-modules.tar.gz 18888810 BLAKE2B 
bf118c47e08c5075502c01cbdcb68189c4964ec32413a298fa9abaaf5634ccf3cc94251de5dc38c1913c66ba3346cd60f4d0a1179dfec571b6ceb269f0a6acc2
 SHA512 
814acad890be748d04f7e28ea6c7a8321edac907c2729c7f4966a8bb24bccad69684d570bc4b9f6148361f8ce5d1ef8306677ef781598467c6a06b765ac974ca
 DIST aylurs-gtk-shell-1.8.2.tar.gz 435232 BLAKE2B 
9b7c7cbe652df76282d9dc11dd49d09ab1fb962e45fec3f3a849b161abd3e8f287f14a72cb7ac85df7f65fea748e4b1546568684eb830ce0382f2f4977d57564
 SHA512 
4ed3f4b4da9c8bbd045ab3cd455b24768bc8807fa9a215a5b788b6319edd72c76cb9fe6d3e3cf82068e43bf3463d5025cfb86eba78b93bc481d95e2e4ed4552d
-DIST node-modules.tar.gz 18888810 BLAKE2B 
bf118c47e08c5075502c01cbdcb68189c4964ec32413a298fa9abaaf5634ccf3cc94251de5dc38c1913c66ba3346cd60f4d0a1179dfec571b6ceb269f0a6acc2
 SHA512 
814acad890be748d04f7e28ea6c7a8321edac907c2729c7f4966a8bb24bccad69684d570bc4b9f6148361f8ce5d1ef8306677ef781598467c6a06b765ac974ca

diff --git a/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild 
b/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild
index f2358a7de..e87f41258 100644
--- a/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild
+++ b/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild
@@ -3,18 +3,15 @@
 
 EAPI=8
 
-MY_PV="v${PV}"
-MY_PN="ags"
-
 inherit meson optfeature
 
 DESCRIPTION="Aylurs's Gtk Shell (AGS), An eww inspired gtk widget system."
 HOMEPAGE="https://github.com/Aylur/ags";
 SRC_URI="
-       
https://github.com/Aylur/${MY_PN}/releases/download/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz
 -> ${P}.tar.gz
-       
https://github.com/Aylur/${MY_PN}/releases/download/${MY_PV}/node_modules-${MY_PV}.tar.gz
 -> node-modules.tar.gz
+       https://github.com/Aylur/ags/releases/download/v${PV}/ags-v${PV}.tar.gz 
-> ${P}.tar.gz
+       
https://github.com/Aylur/ags/releases/download/v${PV}/node_modules-v${PV}.tar.gz
 -> ${P}-node-modules.tar.gz
 "
-S="${WORKDIR}/${MY_PN}"
+S="${WORKDIR}/ags"
 BUILD_DIR="${S}/build"
 
 LICENSE="GPL-3"
@@ -54,7 +51,7 @@ PATCHES=(
 
 src_prepare() {
        default
-       mv "${WORKDIR}/node_modules" "${S}"
+       mv "${WORKDIR}/node_modules" "${S}" || die
 }
 
 src_configure() {

Reply via email to