From 8ec4112767fbef673fdaec62f3bd8e2fcc36e94b Mon Sep 17 00:00:00 2001 From: Akira Ohgaki <akiraohgaki@gmail.com> Date: Fri, 25 Aug 2017 06:58:06 +0900 Subject: [PATCH] Update build.sh --- scripts/build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index fef52ef..eabd464 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -33,7 +33,14 @@ build_flatpak() { } build_appimage() { - echo 'Not implemented yet' + cd "${PROJDIR}" + mkdir -p "${BUILDDIR}" + export_srcarchive "${SRCARCHIVE}" + + tar -xzvf "${SRCARCHIVE}" -C "${BUILDDIR}" + cp "${PROJDIR}/pkg/appimage/appimage.sh" "${BUILDDIR}/${PKGNAME}" + cd "${BUILDDIR}/${PKGNAME}" + sh appimage.sh } if [ "${BUILDTYPE}" = 'snap' ]; then -- GitLab