1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-15 03:22:11 +01:00
falkonOfficial/linux/appimage/build.sh

27 lines
501 B
Bash
Raw Normal View History

2018-05-01 22:59:49 +02:00
#!/usr/bin/env bash
FALKON_URL=$1
RUNTIME_URL="https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-x86_64"
if [ -z "$FALKON_URL" ]; then
echo "No url specified!"
exit 1
fi
source /root/env.sh
source /opt/rh/devtoolset-4/enable
cd /root
wget $RUNTIME_URL -O runtime
wget $FALKON_URL -O falkon.tar.xz
tar xf falkon.tar.xz
cd falkon-*
/root/build-appimage.sh \
--sourcedir=`pwd` \
--outdir=/out \
--runtime=/root/runtime \
--qmake=$QTDIR/bin/qmake