Commit ecc02b08 authored by probal31's avatar probal31
Browse files

Merge branch 'fix/use_checkinstall_from_upstream' into 'master'

Use checkinstall from upstream

See merge request !1
parents f1e131cc 90543a3f
checkinstall
cmake
curl
desktop-file-utils
......
......@@ -20,14 +20,22 @@ RUN apt-get update && \
apt-get autoclean && \
rm -rf /var/lib/apt/
# Using checkinstall from upstream. The one provided in the repo is broken
# See https://bugtrack.izto.org:4442/show_bug.cgi?id=171
RUN git clone https://github.com/giuliomoro/checkinstall /tmp/checkinstall && \
cd /tmp/checkinstall && \
make install && \
rm -rf /tmp/checkinstall
# Build and install applet-window-buttons package
#RUN git clone https://github.com/pontaoski/applet-window-buttons.git -b work/janb/fix-build && \
# mkdir -p applet-window-buttons/build && cd applet-window-buttons/build && \
# cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make -j$(nproc) && \
# checkinstall --pkgname applet-window-buttons-fix --pkgversion 1.0.0 -y --backup=no --nodoc
ADD appimagetool.AppDir /opt/appimagetool.AppDir/
RUN ln -s /opt/appimagetool.AppDir/AppRun /usr/bin/appimagetool
# Install appimage-builder and dependencies
ADD install_appimage-builder.sh /
RUN /install_appimage-builder.sh
RUN pip3 install appimage-builder==0.7.0
......
#!/bin/bash
if [ $(uname -m) = 'x86_64' ]; then
wget -qc https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /opt/appimagetool;
elif [ $(uname -m) = 'aarch64' ]; then
wget -qc https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-aarch64.AppImage -O /opt/appimagetool;
elif [[ $(uname -m) = "armv7"* || $(uname -m) = "armhf" ]]; then
wget -qc https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-armhf.AppImage -O /opt/appimagetool;
fi
cd /opt/ && \
chmod +x appimagetool && \
sed -i 's|AI\x02|\x00\x00\x00|' appimagetool && \
./appimagetool --appimage-extract && \
mv /opt/squashfs-root /opt/appimagetool.AppDir && \
ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool && \
rm /opt/appimagetool
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment