mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
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:
@@ -48,6 +48,10 @@ BDEPEND="
|
||||
dev-util/glib-utils
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-correct_bin_src.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv "${WORKDIR}/node_modules" "${S}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user