commit 68b0bb40e66c8c095e1b521989156c40f35d3cb2 parent 4894227017974e44de422de6c298e94ebb256b64 Author: sin <sin@2f30.org> Date: Wed, 23 Oct 2013 16:26:30 +0100 Add stumpwm installation script Diffstat:
A | install-stumpwm | | | 30 | ++++++++++++++++++++++++++++++ |
1 file changed, 30 insertions(+), 0 deletions(-)
diff --git a/install-stumpwm b/install-stumpwm @@ -0,0 +1,30 @@ +#!/bin/sh -x +# +# Assumes sbcl is already installed. + +curl -O http://beta.quicklisp.org/quicklisp.lisp +(cat << EOF +(quicklisp-quickstart:install) +(ql:add-to-init-file) +(ql:quickload "clx") +(ql:quickload "cl-ppcre") +(quit) +EOF +) | sbcl --load quicklisp.lisp + +registry_path=$HOME/.config/common-lisp/source-registry.conf.d +mkdir -p $registry_path +cat << EOF > $registry_path/stumpwm.conf +(:tree "~/repos/stumpwm/") +EOF + +mkdir -p repos +cd repos +git clone git://github.com/sabetts/stumpwm.git +cd stumpwm +./autogen.sh && ./configure && make +cd - + +cd $HOME/bin +ln -sf $HOME/repos/stumpwm/stumpwm stumpwm +cd -