aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-clojure-mode/PKGBUILD
blob: 1d0a48344bb21f01e2d60441b3069fcd720b1a24 (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
# Contributor: Gianni Vialetto <g.vialetto@gmail.com>
# Contributor: Nick Vogel <vogelrn+aur@gmail.com>

pkgname=emacs-clojure-mode
pkgver=3.0.1
pkgrel=1
arch=('any')
pkgdesc="Emacs major mode for the clojure language"
url="https://github.com/technomancy/clojure-mode"
license="GPL3"
depends=('emacs')
optdepends=('paredit: enhanced LISP structure editing')
install='emacs-clojure-mode.install'
source=("https://github.com/clojure-emacs/clojure-mode/archive/${pkgver}.tar.gz")
sha256sums=(96f238d0d1615eddb07d15c99834e5750120f523e9ef0c14919dee1e8f1705ef)

package ()
{
  cd "${srcdir}/clojure-mode-${pkgver}"

  install -d "${pkgdir}/usr/share/emacs/site-lisp/"
  
  # install the files in directory created above
  install -m644 clojure-test-mode.el -t "${pkgdir}/usr/share/emacs/site-lisp/"
  install -m644 clojure-mode.el -t "${pkgdir}/usr/share/emacs/site-lisp/"
  install -m644 clojure-mode-extra-font-locking.el -t "${pkgdir}/usr/share/emacs/site-lisp/"
}