"README.md" did not exist on "edd3a50b2d171602aba3a7576e24b4ba1559b960"
Newer
Older
#!/bin/sh
PKGNAME='ocs-url'
sh scripts/import.sh
qmake PREFIX="/usr"
make
make INSTALL_ROOT="${PKGNAME}.AppDir" install
curl -L -o linuxdeployqt.AppImage "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
chmod 755 linuxdeployqt.AppImage
./linuxdeployqt.AppImage --appimage-extract
./squashfs-root/AppRun ${PKGNAME}.AppDir/usr/share/applications/${PKGNAME}.desktop -bundle-non-qt-libs -no-translations -qmldir="app/qml"
./squashfs-root/AppRun ${PKGNAME}.AppDir/usr/share/applications/${PKGNAME}.desktop -appimage
rm linuxdeployqt.AppImage
rm -rf squashfs-root
mv *.AppImage ${PKGNAME}-x86_64.AppImage