updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / cl-ssl-cvs / PKGBUILD
blobf83ce448849a0c7e962bd520c62c6ab57465ad9f
1 # Maintainer:  veox <box 55 [shift-two] mail [dot] ru>
3 pkgname=cl-ssl-cvs
4 _clname=cl+ssl  # same as _cvsmod used later on
5 pkgver=20090814
6 pkgrel=2
7 pkgdesc="A Common Lisp interface to OpenSSL"
8 arch=('i686' 'x86_64')
9 url="http://common-lisp.net/project/cl-plus-ssl/"
10 license=('BSD')
11 provides=('cl-ssl')
12 # TODO: add 'cl-asdf' when sbcl has it
13 depends=('common-lisp' 'cl-alexandria' 'cl-babel' 'cl-cffi' 'cl-flexi-streams' 'cl-trivial-features' 'cl-trivial-gray-streams')
14 install=cl-ssl.install
15 source=()
16 md5sums=()
18 _cvsroot=":pserver:anonymous:anonymous@common-lisp.net:/project/cl-plus-ssl/cvsroot"
19 _cvsmod="cl+ssl"
21 build() {
22   install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}
23   install -d ${pkgdir}/usr/share/common-lisp/systems
24   install -d ${pkgdir}/usr/share/licenses/${pkgname}
26   # get/update sources
27   cd $srcdir
28   if [ -d ${_cvsmod}/CVS ]; then
29     cd ${_cvsmod}
30     cvs update -dA
31   else
32     cvs -z3 -d ${_cvsroot} co ${_cvsmod}
33     cd ${_cvsmod}
34   fi
36   install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
37     *.lisp || return 1
38   install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
39     *.asd || return 1
40   install -m 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname} || return 1
42   cd ${pkgdir}/usr/share/common-lisp/systems
43   ln -s ../source/${_clname}/${_clname}.asd .
46 # vim:set ts=2 sw=4 et nospell: