diff --git a/build.sh b/build.sh
index 1c2e011..82263e1 100755
--- a/build.sh
+++ b/build.sh
@@ -2,15 +2,8 @@
 
 cp config.mk patches.h dmenu-flexipatch/
 flexipatch-finalizer/flexipatch-finalizer.sh -r -d dmenu-flexipatch -o dmenu-final
+rm dmenu-flexipatch/config.mk dmenu-flexipatch/patches.h
 # for patch in patches/*.diff; do
 # 	patch -d dmenu-final <"$patch"
 # done
 cp config.h dmenu-final/
-cd dmenu-final || exit 1
-make clean install DESTDIR="../pkg" PREFIX="/usr"
-cd - || exit 1
-
-# xbps-create -A x86_64 \
-# 	-n "dmenu-dev-1.0.0_1" \
-# 	-s "Test build of dmenu" \
-# 	pkg