-
-
Save r41d/9d7ed7c6ec34da1611272e07a9e4f2b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: appimage | |
application: application.vala | |
valac --pkg gtksourceview-3.0 $< -o application | |
APPDIR=AppDir | |
appimage: application | |
$(shell [ -d ${APPDIR} ] && rm -r ${APPDIR}) # rm AppDir if exists | |
$(shell [ ! -f linuxdeploy-x86_64.AppImage ] && wget -nv https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage && chmod +x linuxdeploy-x86_64.AppImage ) | |
./linuxdeploy-x86_64.AppImage --appdir ${APPDIR} # prepare AppDir | |
cp AppRun ${APPDIR}/AppRun | |
cp -r carminebenedetto ${APPDIR}/ | |
cp min2-original.asm ${APPDIR}/ | |
chmod +x ${APPDIR}/AppRun | |
linuxdeploy-x86_64.AppImage -v1 \ | |
--appdir ${APPDIR} \ | |
--output appimage \ | |
--executable application \ | |
--desktop-file application.desktop \ | |
--icon-file application.png | |
# result in file application-x86_64.AppImage | |
mv application-x86_64.AppImage application-x86_64.`lsb_release -cs`.AppImage | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment