1 # Maintainer: mrshpot <mrshpot at gmail dot com>
4 _clname=local-time # used in CL scope, not package scope
7 pkgdesc="A development library for manipulating date and time information in a semi-standard manner."
9 url="http://common-lisp.net/project/local-time/"
12 depends=('common-lisp' 'cl-asdf' 'cl-fad')
13 optdepends=('cl-fiveam: for tests')
14 makedepends=('texinfo')
17 install=cl-local-time.install
18 source=("http://common-lisp.net/project/${_clname}/${_clname}-${pkgver}.tar.gz")
19 md5sums=('ea40227c5b88c5a0f370d3d470ebc682')
23 install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}
24 install -d ${pkgdir}/usr/share/common-lisp/systems
25 install -d ${pkgdir}/usr/share/licenses/${pkgname}
26 install -d ${pkgdir}/usr/share/doc/${pkgname}
30 install -m 644 -t ${pkgdir}/usr/share/licenses/${pkgname} COPYING
31 cp -r src test zoneinfo \
32 ${pkgdir}/usr/share/common-lisp/source/${_clname}/
33 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
36 cd ${pkgdir}/usr/share/common-lisp/systems
37 for _asd in ../source/${_clname}/*.asd ; do ln -s "$_asd" ./ ; done
39 cd "$srcdir/$_clname/doc/"
41 install -m 644 -t ${pkgdir}/usr/share/doc/${pkgname} \
43 install -d ${pkgdir}/usr/share/doc/${pkgname}/html_node
44 install -m 644 -t ${pkgdir}/usr/share/doc/${pkgname}/html_node \
45 manual/html_node/*.html