updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / cl-local-time / PKGBUILD
blob2a2ad2ab44545bee9c521d501d321e792e78f4b2
1 # Maintainer:  mrshpot <mrshpot at gmail dot com>
3 pkgname=cl-local-time
4 _clname=local-time   # used in CL scope, not package scope
5 pkgver=1.0.3
6 pkgrel=1
7 pkgdesc="A development library for manipulating date and time information in a semi-standard manner."
8 arch=('i686' 'x86_64')
9 url="http://common-lisp.net/project/local-time/"
10 license=('BSD')
12 depends=('common-lisp' 'cl-asdf' 'cl-fad')
13 optdepends=('cl-fiveam: for tests')
14 makedepends=('texinfo')
15 options=('docs')
17 install=cl-local-time.install
18 source=("http://common-lisp.net/project/${_clname}/${_clname}-${pkgver}.tar.gz")
19 md5sums=('ea40227c5b88c5a0f370d3d470ebc682')
21 build() {
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}
28   cd "$srcdir/$_clname"
29   
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} \
34     *.asd
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/"
40   make
41   install -m 644 -t ${pkgdir}/usr/share/doc/${pkgname} \
42         manual/index.html
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