summaryrefslogtreecommitdiff
path: root/pcr/emacs-newlisp-mode-git
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-05 17:19:27 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-05 17:19:27 -0500
commitb912ecbb358c92ee504d033e1cfe84d412e80ed4 (patch)
treeb222c2891f0078466dd4b2c6eadaa162b8a3ff5e /pcr/emacs-newlisp-mode-git
parentbe94e4dad3d93cd61d009a84d8175d1fb4f8cc08 (diff)
downloadabslibre-b912ecbb358c92ee504d033e1cfe84d412e80ed4.tar.gz
abslibre-b912ecbb358c92ee504d033e1cfe84d412e80ed4.tar.bz2
abslibre-b912ecbb358c92ee504d033e1cfe84d412e80ed4.zip
emacs-newlisp-mode-git-39.cb67534-1: updating version
Diffstat (limited to 'pcr/emacs-newlisp-mode-git')
-rw-r--r--pcr/emacs-newlisp-mode-git/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/emacs-newlisp-mode-git/PKGBUILD b/pcr/emacs-newlisp-mode-git/PKGBUILD
new file mode 100644
index 000000000..7b0031f08
--- /dev/null
+++ b/pcr/emacs-newlisp-mode-git/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor (Arch): Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+
+pkgname=emacs-newlisp-mode-git
+pkgver=39.cb67534
+pkgrel=1
+pkgdesc="newLISP editing mode for Emacs"
+arch=('any')
+url="https://github.com/kosh04/newlisp-mode"
+license=('GPL3')
+depends=('emacs')
+makedepends=('git')
+provides=('emacs-newlisp')
+conflicts=('emacs-newlisp')
+install=emacs-newlisp-mode.install
+source=('git://github.com/kosh04/newlisp-mode.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd $srcdir/newlisp-mode
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd $srcdir/newlisp-mode
+ emacs -Q -batch -L . -f batch-byte-compile newlisp-mode.el
+}
+
+package() {
+ cd "$srcdir/newlisp-mode"
+ install -Dm644 newlisp-mode.el $pkgdir/usr/share/emacs/site-lisp/newlisp-mode.el
+ install -Dm644 newlisp-mode.elc $pkgdir/usr/share/emacs/site-lisp/newlisp-mode.elc
+}