1 # Maintainer: veox <box 55 [shift-two] mail [dot] ru>
7 pkgdesc="Simple XML parser for Common Lisp, mapping from XML to S-expressions and back"
9 url="http://common-lisp.net/project/xmls/"
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')
15 elif pacman -Qq clisp-gtk2 &>/dev/null; then
16 depends=('clisp-gtk2' 'cl-asdf')
17 elif pacman -Qq sbcl &>/dev/null; then
19 elif pacman -Qq clisp &>/dev/null; then
20 depends=('clisp' 'cl-asdf')
21 elif pacman -Qq cmucl &>/dev/null; then
22 depends=('cmucl' 'cl-asdf')
27 install=cl-xmls.install
28 source=('http://common-lisp.net/project/xmls/xmls-1.2.tar.gz')
29 md5sums=('f67e68b05a75f47474868f92cd4d2b0a')
32 install -d ${pkgdir}/usr/share/common-lisp/source/${_simplepkgname}
33 install -d ${pkgdir}/usr/share/common-lisp/systems
34 install -d ${pkgdir}/usr/share/licenses/${_simplepkgname}
35 install -d ${pkgdir}/usr/share/doc/${pkgname}
37 cd ${srcdir}/${_simplepkgname}-${pkgver} || return 1
39 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_simplepkgname} \
40 ${srcdir}/${_simplepkgname}-${pkgver}/*.lisp || return 1
41 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_simplepkgname} \
42 ${srcdir}/${_simplepkgname}-${pkgver}/*.asd || return 1
43 install -m 644 -t ${pkgdir}/usr/share/licenses/${_simplepkgname} \
44 ${srcdir}/${_simplepkgname}-${pkgver}/COPYING || return 1
45 install -m 644 -t ${pkgdir}/usr/share/doc/${pkgname} \
46 ${srcdir}/${_simplepkgname}-${pkgver}/README.html || return 1
48 cd ${pkgdir}/usr/share/common-lisp/systems || return 1
49 ln -s ../source/${_simplepkgname}/${_simplepkgname}.asd . || return 1
52 # vim:set ts=2 sw=4 et nospell: