blob: f8c2993f4736ae16890690e3c7ac8cb15b2c1512 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer (Arch): Chris Dunder <cdunder@gmail.com>
pkgname=clx-git
_clname=clx
pkgver=r180.11eb3e5
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
pkgdesc="An X11 client for Common Lisp"
url="https://github.com/sharplispers/clx"
license=('custom')
provides=('clx')
conflicts=('clx')
depends=('x-server' 'sbcl')
makedepends=('git' 'texinfo')
install=clx.install
source=(${pkgname}::git+https://github.com/sharplispers/clx.git
README.licensing)
md5sums=('SKIP'
'SKIP')
pkgver() {
cd ${srcdir}/${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${srcdir}/${pkgname}/manual
makeinfo ${_clname}.texinfo
}
package() {
cd ${srcdir}/${pkgname}
install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}
install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} *.lisp
install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname} ${_clname}.asd
install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/debug
install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/debug debug/*.lisp
install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/demo
install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/demo demo/*.lisp
install -d ${pkgdir}/usr/share/common-lisp/source/${_clname}/test
install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${_clname}/test test/*.lisp
install -d ${pkgdir}/usr/share/info
install -m 644 -t ${pkgdir}/usr/share/info manual/${_clname}.info
install -d ${pkgdir}/usr/share/licenses/${_clname}
install -m 644 -t ${pkgdir}/usr/share/licenses/${_clname} ${srcdir}/README.licensing
install -d ${pkgdir}/usr/share/common-lisp/systems
cd ${pkgdir}/usr/share/common-lisp/systems
ln -s ../source/${_clname}/${_clname}.asd .
}
|