summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2015-06-09 00:18:24 +0200
committerStefan Husmann2015-06-09 00:18:24 +0200
commit81074220cbcf941be4f3c0747ed2ee9b51a7e21e (patch)
tree5fc003aab2e3230c4ff982b115e46b27730f503b
downloadaur-81074220cbcf941be4f3c0747ed2ee9b51a7e21e.tar.gz
initial version
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..58c4befcd7e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = emacs-js2-mode
+ pkgdesc = An improved JavaScript mode for GNU Emacs
+ pkgver = 20121128
+ pkgrel = 1
+ url = http://code.google.com/p/js2-mode/
+ arch = any
+ license = GPL2
+ depends = emacs
+ source = https://js2-mode.googlecode.com/files/js2-mode.el
+ md5sums = 4635201397803fd4b705b285f77b2321
+
+pkgname = emacs-js2-mode
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0b536a46ceb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: Hauke Wesselmann <hauke@h-dawg.de>
+# Contributor: xgdgsc <xgdgsc at gmail dot com>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+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
+}