updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / cl-usocket / PKGBUILD
blob7ef715c0289bb8eb59d22bd6618715cb2742aadc
1 # Maintainer:  veox <box 55 [shift-two] mail [dot] ru>
3 pkgname=cl-usocket
4 _clname=usocket
5 pkgver=0.4.1
6 pkgrel=5
7 pkgdesc="Portable TCP/IP interface for Common Lisp"
8 arch=('any')
9 #options=('docs') TODO
10 url="http://common-lisp.net/project/usocket/"
11 license=('MIT')
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')
17 build() {
18     install -d ${pkgdir}/usr/share/common-lisp/source/${_clname} || return 1
19     install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/backend \
20       || return 1
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
27     # usocket
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
35     #docs
36     install -m 644 -t ${pkgdir}/usr/share/doc/${pkgname} \
37         ${srcdir}/${_clname}-${pkgver}/doc/*.txt || return 1
38     # license
39     install -m 644 ${srcdir}/${_clname}-${pkgver}/LICENSE \
40         ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
41     # system file
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: