summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/emacs-js2-mode/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/pcr/emacs-js2-mode/PKGBUILD b/pcr/emacs-js2-mode/PKGBUILD
index 480c7f47b..bff5e39a1 100644
--- a/pcr/emacs-js2-mode/PKGBUILD
+++ b/pcr/emacs-js2-mode/PKGBUILD
@@ -1,20 +1,24 @@
-# Contributor: Hauke Wesselmann <hauke@h-dawg.de>
-# Contributor: xgdgsc <xgdgsc at gmail dot com>
+# 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=20120726
+pkgver=20121128
pkgrel=1
pkgdesc="An improved JavaScript mode for GNU Emacs"
-arch=('i686' 'x86_64' 'mips64el')
+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
}