#!/bin/sh

git clone https://github.com/qownnotes/md4c src/libraries/md4c
cd src/libraries/md4c && git -c advice.detachedHead=false checkout c64ee9a
rm -rf .*
cd ../../..

git clone https://github.com/pbek/qt-piwik-tracker.git src/libraries/piwiktracker
cd src/libraries/piwiktracker && git -c advice.detachedHead=false checkout c705cfd
rm -rf .*
cd ../../..

git clone https://github.com/qownnotes/QHotkey.git src/libraries/qhotkey
cd src/libraries/qhotkey && git -c advice.detachedHead=false checkout 5bd6aa5
rm -rf .*
cd ../../..

git clone https://github.com/pbek/qkeysequencewidget src/libraries/qkeysequencewidget
cd src/libraries/qkeysequencewidget && git -c advice.detachedHead=false checkout 8cbb54a
rm -rf .*
cd ../../..

git clone https://github.com/pbek/qmarkdowntextedit.git src/libraries/qmarkdowntextedit
cd src/libraries/qmarkdowntextedit && git -c advice.detachedHead=false checkout f20c41c
rm -rf .*
cd ../../..

git clone https://github.com/pbek/qtcsv.git src/libraries/qtcsv
cd src/libraries/qtcsv && git -c advice.detachedHead=false checkout ae15c33
rm -rf .*
cd ../../..

git clone https://github.com/pbek/Qt-Toolbar-Editor.git src/libraries/qttoolbareditor
cd src/libraries/qttoolbareditor && git -c advice.detachedHead=false checkout ca0728c
rm -rf .*
cd ../../..
