summaryrefslogtreecommitdiff
path: root/pcr/emacs-js2-mode/PKGBUILD
blob: bff5e39a15f867404e7fe752450ad1419f38ea34 (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
# Contributor (Arch): Hauke Wesselmann <hauke@h-dawg.de>
# Contributor (Arch): xgdgsc <xgdgsc at gmail dot com>
# Contributor (Arch): Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=emacs-js2-mode
pkgver=20121128
pkgrel=1
pkgdesc="An improved JavaScript mode for GNU Emacs"
arch=('any')
url="http://code.google.com/p/js2-mode/"
license=('GPL2')
depends=('emacs')
source=(https://js2-mode.googlecode.com/files/js2-mode.el)
md5sums=('4635201397803fd4b705b285f77b2321')

build() {
  cd $srcdir
  emacs -batch -q -f batch-byte-compile js2-mode.el
}
package() {
  install -Dm644 $srcdir/js2-mode.el $pkgdir/usr/share/emacs/site-lisp/js2-mode.el
  install -Dm644 $srcdir/js2-mode.elc $pkgdir/usr/share/emacs/site-lisp/js2-mode.elc
}