updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / cl-cells / PKGBUILD
blobb86345d58e945607990a9b177ba66073d2b59b19
1 # Maintainer:  Taras Shpot <mrshpot at gmail dot com>
3 pkgname=cl-cells
4 _clname=cells
5 pkgver=2.0
6 pkgrel=1
7 pkgdesc="an extension to CLOS that allows you to create classes, the instances of which have slots whose values are determined by a formula"
8 arch=('i686' 'x86_64')
9 url="http://common-lisp.net/project/cells/"
10 license=('MIT')
12 depends=('common-lisp' 'cl-asdf')
14 install=cl-cells.install
15 source=('http://www.common-lisp.net/project/cells/asdf-install/cells_2.0.tar.gz')
16 md5sums=('76211d301a8f37fcc7899e57c26fad8b')
18 build() {
19     install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}
20     install -d ${pkgdir}/usr/share/common-lisp/systems
22     cd ${srcdir}/${_clname}_${pkgver}
24         cp -r * ${pkgdir}/usr/share/common-lisp/source/${_clname}
25         find ${pkgdir}/usr/share/common-lisp/source/${_clname} -type f -print0 | xargs -0 chmod 644 || return 1
26         find ${pkgdir}/usr/share/common-lisp/source/${_clname} -type d -print0 | xargs -0 chmod 755 || return 1
27         
28     cd ${pkgdir}/usr/share/common-lisp/systems
29     ln -s ../source/${_clname}/${_clname}.asd .
30     ln -s ../source/${_clname}/${_clname}-test.asd .
33 # vim:set ts=2 sw=4 et nospell: