Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 20th, 2010  |  syntax: None  |  size: 1.85 KB  |  views: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer:  veox <box 55 [shift-two] mail [dot] ru>
  2.  
  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')
  18.  
  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}
  26.  
  27.     cd ${srcdir}/${_clname}-${pkgver}
  28.  
  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*
  40.  
  41.     cd ${pkgdir}/usr/share/common-lisp/systems
  42.     ln -s ../source/${_clname}/${_clname}.asd .
  43.     ln -s ../source/${_clname}/${_clname}-test.asd .
  44. }
  45.  
  46. # vim:set ts=2 sw=4 et nospell:
clone this paste RAW Paste Data