1 # Maintainer: veox <box 55 [shift-two] mail [dot] ru>
7 pkgdesc="Portable TCP/IP interface for Common Lisp"
10 url="http://common-lisp.net/project/usocket/"
12 depends=('common-lisp' 'cl-split-sequence')
13 install=cl-usocket.install
14 source=("http://common-lisp.net/project/usocket/releases/usocket-$pkgver.tar.gz")
15 md5sums=('42a642e07b3d10ac6014420cb9a958c6')
18 install -d ${pkgdir}/usr/share/common-lisp/source/${_clname} || return 1
19 install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/backend \
21 install -d ${pkgdir}/usr/share/common-lisp/systems || return 1
22 install -d ${pkgdir}/usr/share/doc/${pkgname} || return 1
23 install -d ${pkgdir}/usr/share/licenses/${pkgname} || return 1
25 cd ${srcdir}/${_clname}-${pkgver} || return 1
28 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
29 ${srcdir}/${_clname}-${pkgver}/*.lisp || return 1
30 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
31 ${srcdir}/${_clname}-${pkgver}/*.asd || return 1
32 # backends' files (cl implementations)
33 install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/backend \
34 ${srcdir}/${_clname}-${pkgver}/backend/*.lisp || return 1
36 install -m 644 -t ${pkgdir}/usr/share/doc/${pkgname} \
37 ${srcdir}/${_clname}-${pkgver}/doc/*.txt || return 1
39 install -m 644 ${srcdir}/${_clname}-${pkgver}/LICENSE \
40 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
42 cd ${pkgdir}/usr/share/common-lisp/systems || return 1
43 ln -s ../source/${_clname}/${_clname}.asd . || return 1
46 # vim:set ts=2 sw=4 et nospell: