updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / dswm / PKGBUILD
blob7c0b68d9a85211efafecaa1c9e00ecc2e35bf2a8
1 pkgname=dswm
2 pkgver=0.0.4
3 pkgrel=1
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/"
6 arch=('x86_64' 'i686')
7 license=('GPLv2')
8 depends=('sbcl' 'clx' 'cl-ppcre')
9 optdepends=('emacs')
10 makedepends=()
11 conflicts=()
12 replaces=()
13 backup=()
14 install='dswm.install'
15 options=(!strip)
16 source=("http://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}-${pkgver}.tar.gz")
17 md5sums=('ccb3b53e197bfbf84876cb7ab3b8ebd7')
19 build() {
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