1 # Maintainer: Taras Shpot <mrshpot at gmail dot com>
3 pkgname=cl-lispbuilder-sdl
4 _clname=lispbuilder-sdl
7 pkgdesc="SDL game and multimedia library for Common Lisp"
9 url="http://code.google.com/p/lispbuilder/"
12 depends=('common-lisp' 'cl-asdf' 'sdl' 'cl-trivial-garbage')
13 optdepends=('cl-vectors: vector graphics'
14 'cl-zpb-ttf: required for cl-vectors support'
15 'cl-vecto: vector graphics')
17 install=cl-lispbuilder-sdl.install
18 source=('http://lispbuilder.googlecode.com/files/lispbuilder-sdl-0.9.8.1.tgz')
19 md5sums=('32380fbc7622ada4082d25baa5c95fe2')
22 install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}
23 install -d ${pkgdir}/usr/share/common-lisp/systems
25 cd ${srcdir}/${_clname}
26 rm -rf trivial-garbage.asd trivial-garbage/
30 cp -r * ${pkgdir}/usr/share/common-lisp/source/${_clname}
31 find ${pkgdir}/usr/share/common-lisp/source/${_clname} -type f -print0 | xargs -0 chmod 644 || return 1
32 find ${pkgdir}/usr/share/common-lisp/source/${_clname} -type d -print0 | xargs -0 chmod 755 || return 1
33 chmod +x ${pkgdir}/usr/share/common-lisp/source/${_clname}/bin/lib${_clname}-glue.so
34 ln -s ${pkgdir}/usr/share/common-lisp/source/${_clname}/bin/lib${_clname}-glue.so ${pkgdir}/usr/share/common-lisp/source/${_clname}/bin/${_clname}-glue.so
36 cd ${pkgdir}/usr/share/common-lisp/systems
37 ln -s ../source/${_clname}/${_clname}.asd .
38 ln -s ../source/${_clname}/${_clname}-examples.asd .
39 ln -s ../source/${_clname}/${_clname}-cl-vectors.asd .
40 ln -s ../source/${_clname}/${_clname}-cl-vectors-examples.asd .
41 ln -s ../source/${_clname}/${_clname}-vecto.asd .
42 ln -s ../source/${_clname}/${_clname}-vecto-examples.asd .
45 # vim:set ts=2 sw=4 et nospell: