updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / cl-fad / PKGBUILD
blob086d828878b0f439e55e0ab3a2520826e833aca1
1 # Maintainer:  veox <box 55 [shift-two] mail [dot] ru>
3 pkgname=cl-fad
4 pkgver=0.6.4
5 pkgrel=1
6 pkgdesc="Peter Seilbel's pathname unification layer for Common Lisp"
7 arch=('i686' 'x86_64')
8 url="http://www.weitz.de/cl-fad/"
9 license=('BSD')
10 depends=('common-lisp')
11 install=cl-fad.install
12 options=('docs')  # TODO: do when fully supported by pacman
13 source=('http://weitz.de/files/cl-fad.tar.gz' 'LICENSE')
14 md5sums=('69f946bcfad4a93171f2a49016c41cad' '1dbe5633c80864e0e4f2aafcc4c220f9')
16 build() {
17     install -d ${pkgdir}/usr/share/common-lisp/source/${pkgname} || return 1
18     install -d ${pkgdir}/usr/share/common-lisp/systems || return 1
19     install -d ${pkgdir}/usr/share/licenses/${pkgname} || return 1
20     install -d ${pkgdir}/usr/share/doc/${pkgname} || return 1
22     cd ${srcdir}/${pkgname}-${pkgver} || return 1
24     install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} \
25         *.lisp || return 1
26     install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} \
27         *.asd || return 1
28     install -m 644 ${srcdir}/LICENSE \
29         ${pkgdir}/usr/share/licenses/${pkgname} || return 1
30     install -m 644 doc/index.html \
31         ${pkgdir}/usr/share/doc/${pkgname} || return 1
33     cd ${pkgdir}/usr/share/common-lisp/systems || return 1
34     ln -s ../source/${pkgname}/${pkgname}.asd . || return 1
37 # vim:set ts=2 sw=4 et nospell: