# Maintainer: veox pkgname=cl-hunchentoot _clname=hunchentoot pkgver=1.1.1 pkgrel=1 pkgdesc="A Common Lisp webserver and toolkit for building dynamic sites" arch=('i686' 'x86_64') url="http://www.weitz.de/hunchentoot/" license=('BSD') 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') optdepends=('cl-who: for the example code' \ 'cl-drakma: for the tests') install=cl-hunchentoot.install options=('docs') # TODO: when fully supported by pacman source=('http://weitz.de/files/hunchentoot.tar.gz') md5sums=('4fb20163d9125ca9ecdd1c8a9ca4f6c5') build() { install -d ${pkgdir}/usr/share/common-lisp/source/${_clname} install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/test install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/url-rewrite install -d ${pkgdir}/usr/share/common-lisp/systems install -d ${pkgdir}/usr/share/licenses/${pkgname} install -d ${pkgdir}/usr/share/doc/${pkgname} cd ${srcdir}/${_clname}-${pkgver} install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \ *.lisp install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/test \ test/* install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/url-rewrite \ url-rewrite/* install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \ *.asd install -m 644 doc/LICENSE.txt \ ${pkgdir}/usr/share/licenses/${pkgname} install -m 644 -t ${pkgdir}/usr/share/doc/${pkgname} doc/*i* cd ${pkgdir}/usr/share/common-lisp/systems ln -s ../source/${_clname}/${_clname}.asd . ln -s ../source/${_clname}/${_clname}-test.asd . } # vim:set ts=2 sw=4 et nospell: