install-stumpwm (604B)
1 #!/bin/sh -x 2 # 3 # Assumes sbcl is already installed. 4 5 curl -O http://beta.quicklisp.org/quicklisp.lisp 6 (cat << EOF 7 (quicklisp-quickstart:install) 8 (ql:add-to-init-file) 9 (ql:quickload "clx") 10 (ql:quickload "cl-ppcre") 11 (quit) 12 EOF 13 ) | sbcl --load quicklisp.lisp 14 15 registry_path=$HOME/.config/common-lisp/source-registry.conf.d 16 mkdir -p $registry_path 17 cat << EOF > $registry_path/stumpwm.conf 18 (:tree "~/repos/stumpwm/") 19 EOF 20 21 mkdir -p repos 22 cd repos 23 git clone https://github.com/stumpwm/stumpwm.git 24 cd stumpwm 25 ./autogen.sh && ./configure && make 26 cd - 27 28 cd $HOME/bin 29 ln -sf $HOME/repos/stumpwm/stumpwm stumpwm 30 cd -