updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / emacs-js2-mode / PKGBUILD
blobd4f123dbb4107bb4a9fdf20ea78386327ecf90b4
1 # Contributor: Hauke Wesselmann <hauke@h-dawg.de>
2 pkgname=emacs-js2-mode
3 pkgver=20090723b
4 pkgrel=1
5 pkgdesc="An improved JavaScript mode for GNU Emacs"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/js2-mode/"
8 license=('GPL2')
9 depends=('emacs')
10 source=(http://js2-mode.googlecode.com/files/js2-$pkgver.el)
11 md5sums=('9109dca8b624edb8358fb9938a03d785')
13 build() {
14   cd $startdir/src/
15   emacs -batch -q -f batch-byte-compile js2-$pkgver.el
16   install -Dm644 $srcdir/js2-$pkgver.el $pkgdir/usr/share/emacs/site-lisp/js2.el
17   install -Dm644 $srcdir/js2-$pkgver.elc $pkgdir/usr/share/emacs/site-lisp/js2.elc