blob: 9e93f1e02946cac55241ce9d31c32de89162180c (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-sly-git
pkgver=1.0.0.beta.498.gc338f22c
pkgrel=1
pkgdesc="Common Lisp IDE for Emacs. Fork of slime."
arch=('any')
url="https://github.com/capitaomorte/sly"
license=('custom')
depends=('emacs' 'gawk')
makedepends=('git')
provides=('sly' 'emacs-sly')
conflicts=('sly' 'emacs-sly')
source=("emacs-sly::git+https://github.com/capitaomorte/sly.git")
md5sums=('SKIP')
options=('!makeflags')
pkgver() {
cd ${pkgname%-git}
echo $(git describe --tags | sed 's|-|.|g')
}
# prepare () {
# cd ${pkgname%-git}/contrib
# # some files cannot be byte-compiled
# mv sly-fancy.el doof1
# mv sly-stickers.el doof2
# }
build() {
cd ${pkgname%-git}
make
# reverting the prepare step to include the not byte-compiled files
# cd contrib
# mv doof1 sly-fancy.el
# mv doof2 sly-stickers.el
}
package() {
cd ${pkgname%-git}
install -d "$pkgdir"/usr/share/emacs/site-lisp/sly
cp -r "$srcdir"/${pkgname%-git}/* \
"$pkgdir"/usr/share/emacs/site-lisp/sly
install -D -m644 README.md \
"$pkgdir"/usr/share/licenses/$pkgname/public_domain.txt
}
|