-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
53 lines (43 loc) · 1.98 KB
/
PKGBUILD
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: Voobscout <[email protected]>
pkgname=quicklisp
pkgver=17122014
pkgrel=1
pkgdesc="Quicklisp is a library manager for Common Lisp."
arch=('i686' 'x86_64')
license=('GPL2')
depends=('sbcl')
makedepends=('git' 'texinfo' 'autoconf')
url="http://www.quicklisp.org"
provides=('quicklisp')
conflicts=('lispbox')
source=('http://beta.quicklisp.org/quicklisp.lisp'
'sbclrc'
)
sha256sums=('47cfdc0f4796b4c0ca05af16b666dd4b21c5b9e62b731390c895c2d19ed6d095'
'4215c0f202a14866023ccc6f9b18f57682ca8295473a062bbe15de4d1a53b5e8')
install=quicklisp.install
options=(!strip) # Thanks to sidereus for pointing this out
build() {
msg "Installing quicklisp..."
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load ${srcdir}/quicklisp.lisp \
--non-interactive \
--eval "(quicklisp-quickstart:install :path \"${srcdir}/quicklisp-install\")" \
--eval "(ql:update-client)" \
--eval "(ql:update-all-dists)"
}
package() {
msg "Installing /etc/sbclrc"
install -Dm 644 ${srcdir}/sbclrc ${pkgdir}/etc/sbclrc
msg "Installing quicklisp"
install -d ${pkgdir}/usr/share/common-lisp/source/quicklisp
install -m 0644 ${srcdir}/quicklisp-install/*.lisp ${pkgdir}/usr/share/common-lisp/source/quicklisp
install -m 0644 ${srcdir}/quicklisp-install/*.sexp ${pkgdir}/usr/share/common-lisp/source/quicklisp
install -m 0777 -d ${pkgdir}/usr/share/common-lisp/source/quicklisp/dists/quicklisp
install -m 0644 ${srcdir}/quicklisp-install/dists/quicklisp/*.txt ${pkgdir}/usr/share/common-lisp/source/quicklisp/dists/quicklisp
install -m 0777 -d ${pkgdir}/usr/share/common-lisp/source/quicklisp/local-projects
install -d ${pkgdir}/usr/share/common-lisp/source/quicklisp/quicklisp
install -m 0644 ${srcdir}/quicklisp-install/quicklisp/*.* ${pkgdir}/usr/share/common-lisp/source/quicklisp/quicklisp
install -m 0777 -d ${pkgdir}/usr/share/common-lisp/source/quicklisp/cache
install -m 0777 -d ${pkgdir}/usr/share/common-lisp/source/quicklisp/tmp
}