updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / cl-ptester / PKGBUILD
blob72d70bc1018826fc5b2f0ae0e2c0ede765e88a6c
1 # Maintainer:  veox <box 55 [shift-two] mail [dot] ru>
3 pkgname=cl-ptester
4 _clname=ptester    # used in CL scope, not package scope
5 pkgver=2.1.2
6 pkgrel=1
7 pkgdesc="Portable test framework library for Common Lisp"
8 arch=('i686' 'x86_64')
9 url="http://www.cliki.net/ptester/"
10 license=('LLGPL')  # 'ptester' derived from Franz's 'tester'
11 # TODO: add 'cl-asdf*' when SBCL provides it
12 depends=('common-lisp')
13 install=cl-ptester.install
14 #options=('doc')   # TODO: how do I use this?
15 source=('http://files.b9.com/ptester/ptester-2.1.2.tar.gz' 'LICENSE')
16 md5sums=('0bf2f88cd8696687359c898d3c01bc0f' 'faca2fa96f3df8f76cea3bff60502e4f')
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 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/
31     install -m 644 tester.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: