nixos/projects/kde/cleanup.sh
2024-04-25 21:10:15 +02:00

15 lines
440 B
Bash
Executable file

#!/bin/sh
# go to prefix
cd ~/projects/kde || exit 1
# kill all old stuff
rm -rf ~/projects/kde/src ~/projects/kde/build ~/projects/kde/usr || exit 1
# get new kde-builder
mkdir -p ~/projects/kde/src || exit 1
git clone https://invent.kde.org/sdk/kde-builder.git ~/projects/kde/src/kde-builder || exit 1
# start from scratch
exec ./src/kde-builder/kde-builder --rc-file=~/projects/kde/kdesrc-buildrc --include-dependencies konsole kate