gui-apps/aylurs-gtk-shell: patch the symbol link

make the symbol link point to the right position instead of path inside
image dir

Signed-off-by: Haitian Song <sht852680833@gmail.com>
Closes: https://github.com/gentoo/guru/pull/212
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-07-15 14:26:15 +02:00
parent 8c975ebcdb
commit 2f01813be7
2 changed files with 19 additions and 0 deletions

View File

@@ -48,6 +48,10 @@ BDEPEND="
dev-util/glib-utils
"
PATCHES=(
"${FILESDIR}/${P}-correct_bin_src.patch"
)
src_prepare() {
default
mv "${WORKDIR}/node_modules" "${S}"

View File

@@ -0,0 +1,15 @@
#Patch post_install.sh to make the symbole link point to the correct path instead of a path inside build image
Bug: https://github.com/gentoo/guru/pull/212
Bug: https://github.com/Aylur/ags/pull/503
--- a/post_install.sh
+++ b/post_install.sh
@@ -7,7 +7,7 @@ APP_ID=$4
mkdir -p $BIN_DIR
-BIN_SRC="$PKGDATA_DIR/$APP_ID"
+BIN_SRC="$2/$APP_ID"
BIN_DEST="$BIN_DIR/ags"
ln -s -f $BIN_SRC $BIN_DEST