updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cl-puri / PKGBUILD
blobb7018f842b601ff2c82add96969ea07ddd57aa19
1 # Maintainer:  veox <box 55 [shift-two] mail [dot] ru>
3 pkgname=cl-puri
4 _clname=puri    # used in CL scope, not package scope
5 pkgver=1.5.5
6 pkgrel=1
7 pkgdesc="Portable Universal Resourse Identifier library for Common Lisp"
8 arch=('i686' 'x86_64')
9 url="http://puri.b9.com/"
10 license=('LLGPL')
11 # TODO: add 'cl-asdf*' when SBCL provides it
12 depends=('common-lisp' 'cl-ptester')
13 install=cl-puri.install
14 #options=('doc')  # how do I use this?
15 source=('http://files.b9.com/puri/puri-1.5.5.tar.gz')
16 md5sums=('89b687df5aa365451f1b71fcd68d0377')
18 build() {
19     install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}
20     install -d ${pkgdir}/usr/share/common-lisp/systems
21     install -d ${pkgdir}/usr/share/licenses/${pkgname}
22     install -d ${pkgdir}/usr/share/doc/${pkgname}
24     cd ${srcdir}/${_clname}-${pkgver}
26     install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
27         *.lisp
28     install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} \
29         *.asd
30     install -m 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/
31     install -m 644 uri.html ${pkgdir}/usr/share/doc/${pkgname}/
33     cd ${pkgdir}/usr/share/common-lisp/systems
34     ln -s ../source/${_clname}/${_clname}.asd .
37 # vim:set ts=2 sw=4 et nospell: