4 pkgdesc="Deep Space Window Manager - tiling window manager, oriented for good usability and good emacs integration (StumpWM-based)."
5 url="http://sourceforge.net/projects/dswm/"
8 depends=('sbcl' 'clx' 'cl-ppcre')
14 install='dswm.install'
16 source=("http://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}-${pkgver}.tar.gz")
17 md5sums=('ccb3b53e197bfbf84876cb7ab3b8ebd7')
20 mkdir -p "${pkgdir}"/usr/share/xsessions/ # patch for specific original makefile
21 cd $startdir/src/$pkgname-$pkgver
22 ./configure --prefix=/usr \
23 --with-ppcre=/usr/share/common-lisp/source/cl-ppcre
25 # this is necesary since the AUR packages do not modify the asdf's registry by default
26 _sbcl_bopt="sbcl_BUILDOPTS=--eval \"(require :asdf)\" \
27 --eval \"(pushnew #p\\\"/usr/share/common-lisp/systems/\\\" asdf:*central-registry* :test #'equal)\" \
28 --eval \"(asdf:operate 'asdf:load-op 'clx)\" \
29 --load ./make-image.lisp"
30 _sbcl_iopt="sbcl_INFOOPTS=--eval \"(require 'asdf)\" \
31 --eval \"(pushnew #p\\\"/usr/share/common-lisp/systems/\\\" asdf:*central-registry* :test #'equal)\" \
32 --eval \"(asdf:operate 'asdf:load-op 'clx)\" \
33 --eval \"(require 'dswm)\" \
34 --load ./manual.lisp \
35 --eval \"(progn (dswm::generate-manual) (sb-ext:quit))\""
37 make "$_sbcl_bopt" "$_sbcl_iopt"
38 make destdir="${pkgdir}" install