1 # Maintainer: veox <box 55 [shift-two] mail [dot] ru>
3 pkgname=cl-flexi-streams
7 pkgdesc="Virtual bivalent stream implementation for Common Lisp"
9 url="http://www.weitz.de/hunchentoot/"
12 # TODO: replace this segment with 'common-lisp' when all provide it.
13 if pacman -Qq clisp-new-clx &>/dev/null; then
14 depends=('clisp-new-clx' 'cl-asdf' 'cl-trivial-gray-streams')
15 elif pacman -Qq clisp-gtk2 &>/dev/null; then
16 depends=('clisp-gtk2' 'cl-asdf' 'cl-trivial-gray-streams')
17 elif pacman -Qq sbcl &>/dev/null; then
18 depends=('sbcl' 'cl-trivial-gray-streams')
19 elif pacman -Qq clisp &>/dev/null; then
20 depends=('clisp' 'cl-asdf' 'cl-trivial-gray-streams')
21 elif pacman -Qq cmucl &>/dev/null; then
22 depends=('cmucl' 'cl-asdf' 'cl-trivial-gray-streams')
24 depends=('sbcl' 'cl-trivial-gray-streams')
27 install=cl-flexi-streams.install
28 source=('http://weitz.de/files/flexi-streams.tar.gz' 'LICENSE')
29 md5sums=('356cfc47dc769fb84988377dd5937362'
30 '63605eed7c939d885851f2e876ce3f14')
34 install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/test
35 install -d ${pkgdir}/usr/share/common-lisp/systems
36 install -d ${pkgdir}/usr/share/licenses/${pkgname}
38 cd ${srcdir}/${_clname}-${pkgver}
40 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
41 ${srcdir}/${_clname}-${pkgver}/*.lisp
42 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
43 ${srcdir}/${_clname}-${pkgver}/*.asd
44 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/test \
45 ${srcdir}/${_clname}-${pkgver}/test/*
46 install -m 644 ${srcdir}/LICENSE \
47 ${pkgdir}/usr/share/licenses/${pkgname}
49 cd ${pkgdir}/usr/share/common-lisp/systems
50 ln -s ../source/${_clname}/${_clname}.asd .
53 # vim:set ts=2 sw=4 et nospell: