updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cl-hunchentoot / PKGBUILD
blob8a6175953a457607b99bd442d46d2f2e78734046
1 # Maintainer:  veox <box 55 [shift-two] mail [dot] ru>
3 pkgname=cl-hunchentoot
4 _clname=hunchentoot
5 pkgver=1.1.1
6 pkgrel=1
7 pkgdesc="A Common Lisp webserver and toolkit for building dynamic sites"
8 arch=('i686' 'x86_64')
9 url="http://www.weitz.de/hunchentoot/"
10 license=('BSD')
11 depends=('common-lisp' 'cl-base64' 'cl-bordeaux-threads' 'cl-chunga' 'cl-fad' 'cl-flexi-streams' 'cl-md5' 'cl-ppcre' 'cl-rfc2388' 'cl-ssl' 'cl-usocket' 'cl-trivial-backtrace')
12 optdepends=('cl-who: for the example code' \
13             'cl-drakma: for the tests')
14 install=cl-hunchentoot.install
15 options=('docs')  # TODO: when fully supported by pacman
16 source=('http://weitz.de/files/hunchentoot.tar.gz')
17 md5sums=('4fb20163d9125ca9ecdd1c8a9ca4f6c5')
19 build() {
20     install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}
21     install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/test
22     install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/url-rewrite
23     install -d ${pkgdir}/usr/share/common-lisp/systems
24     install -d ${pkgdir}/usr/share/licenses/${pkgname}
25     install -d ${pkgdir}/usr/share/doc/${pkgname}
27     cd ${srcdir}/${_clname}-${pkgver}
29     install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
30         *.lisp
31     install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/test \
32         test/*
33     install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/url-rewrite \
34         url-rewrite/*
35     install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
36         *.asd
37     install -m 644 doc/LICENSE.txt \
38         ${pkgdir}/usr/share/licenses/${pkgname}
39     install -m 644 -t ${pkgdir}/usr/share/doc/${pkgname} doc/*i*
41     cd ${pkgdir}/usr/share/common-lisp/systems
42     ln -s ../source/${_clname}/${_clname}.asd .
45 # vim:set ts=2 sw=4 et nospell: