blob: 51fc7a92eba6c1b3dc5f0da35ac2b8fe701478a5 (
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
|
# Contributor: Marco Pompili <aur@emarcs.org>
# Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
# Contributor: Gianni Vialetto <g.vialetto@gmail.com>
# Contributor: Nick Vogel <vogelrn+aur@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-clojure-mode
pkgver=5.18.1
pkgrel=1
arch=('any')
pkgdesc="Emacs major mode for the clojure language"
url="https://github.com/clojure-emacs/clojure-mode"
license=('GPL3')
depends=('emacs')
optdepends=('paredit: enhanced LISP structure editing')
install=$pkgname.install
source=("${pkgname#emacs-}-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz")
sha256sums=('efe2526006b61f94472f84a27ef656a9c4464cfdaecee2a75efc5d966853a637')
build() {
cd clojure-mode-${pkgver}
emacs -Q --batch -f batch-byte-compile clojure-mode.el
}
package() {
cd clojure-mode-${pkgver}
install -d "$pkgdir"/usr/share/emacs/site-lisp/
# install the files in directory created above
install -m644 clojure-mode.el{,c} -t "$pkgdir"/usr/share/emacs/site-lisp/
install -m644 clojure-mode-extra-font-locking.el -t "$pkgdir"/usr/share/emacs/site-lisp/
}
|