diff --git a/build-aux/AppImageBuilder.yml b/build-aux/AppImageBuilder.yml index 97e46f1..8c483e1 100644 --- a/build-aux/AppImageBuilder.yml +++ b/build-aux/AppImageBuilder.yml @@ -22,13 +22,20 @@ AppDir: path: ./AppDir after_bundle: # Документация, справка, примеры - - rm -rf AppDir/usr/share/{man,doc,info,help,gtk-doc,devhelp,examples,pkgconfig} || true - - rm -rf AppDir/usr/include || true - - rm -rf AppDir/usr/lib/pkgconfig || true + - rm -rf ${TARGET_APPDIR}/usr/share/man || true + - rm -rf ${TARGET_APPDIR}/usr/share/doc || 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 бинарников - - 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: id: ru.linux_gaming.PortProtonQt name: PortProtonQt