default_pre_build              &&
cd "$SOURCE_DIRECTORY/src-qt5" &&

# editing SUBDIRS so it doesn't build all 3 lumina components
# (they recommend packaging each component separately)
sed -i '7,13d' src-qt5.pro                      &&
sed -i '6i SUBDIRS+= desktop-utils' src-qt5.pro &&

cd desktop-utils &&

# editing desktop-utils SUBDIRS so it only builds the current component
sed -i '7,14d' desktop-utils.pro                  &&
sed -i '6i SUBDIRS+= lumina-archiver' desktop-utils.pro
