fix(build): replace Appdir with TARGET_APPDIR on appimage
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@ -22,13 +22,20 @@ AppDir:
|
|||||||
path: ./AppDir
|
path: ./AppDir
|
||||||
after_bundle:
|
after_bundle:
|
||||||
# Документация, справка, примеры
|
# Документация, справка, примеры
|
||||||
- rm -rf AppDir/usr/share/{man,doc,info,help,gtk-doc,devhelp,examples,pkgconfig} || true
|
- rm -rf ${TARGET_APPDIR}/usr/share/man || true
|
||||||
- rm -rf AppDir/usr/include || true
|
- rm -rf ${TARGET_APPDIR}/usr/share/doc || true
|
||||||
- rm -rf AppDir/usr/lib/pkgconfig || true
|
- rm -rf ${TARGET_APPDIR}/usr/share/info || true
|
||||||
|
- rm -rf ${TARGET_APPDIR}/usr/share/help || true
|
||||||
|
- rm -rf ${TARGET_APPDIR}/usr/share/gtk-doc || true
|
||||||
|
- rm -rf ${TARGET_APPDIR}/usr/share/devhelp || true
|
||||||
|
- rm -rf ${TARGET_APPDIR}/usr/share/examples || true
|
||||||
|
- rm -rf ${TARGET_APPDIR}/usr/share/pkgconfig || true
|
||||||
|
- rm -rf ${TARGET_APPDIR}/usr/include || true
|
||||||
|
- rm -rf ${TARGET_APPDIR}/usr/lib/pkgconfig || true
|
||||||
# Статика и отладка
|
# Статика и отладка
|
||||||
- find AppDir -type f \( -name '*.a' -o -name '*.la' -o -name '*.h' -o -name '*.cmake' -o -name '*.pdb' \) -delete || true
|
- find ${TARGET_APPDIR} -type f \( -name '*.a' -o -name '*.la' -o -name '*.h' -o -name '*.cmake' -o -name '*.pdb' \) -delete || true
|
||||||
# Strip ELF бинарников
|
# Strip ELF бинарников
|
||||||
- find AppDir -type f -executable -exec file {} \; | grep ELF | cut -d: -f1 | xargs strip --strip-unneeded || true
|
- find ${TARGET_APPDIR} -type f -executable -exec file {} \; | grep ELF | cut -d: -f1 | xargs strip --strip-unneeded || true
|
||||||
app_info:
|
app_info:
|
||||||
id: ru.linux_gaming.PortProtonQt
|
id: ru.linux_gaming.PortProtonQt
|
||||||
name: PortProtonQt
|
name: PortProtonQt
|
||||||
|
Reference in New Issue
Block a user