summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Elias Pipping <pipping@exherbo.org> 2013-12-28 19:24:28 +0100
committerAvatar Elias Pipping <pipping@exherbo.org> 2013-12-28 19:34:56 +0100
commite04ed485a30f3f439b465d010e115724bec207f0 (patch)
tree3e1f7daf1e85a921a5bdb66b056423d9dde79a7e
parente287e9d0458deae6e59d3820b9e71ec5dee254dc (diff)
downloademacs-e04ed485a30f3f439b465d010e115724bec207f0.tar.gz
emacs-e04ed485a30f3f439b465d010e115724bec207f0.tar.xz
magit: Add -scm
-rw-r--r--metadata/repository_mask.conf1
-rw-r--r--packages/app-emacs/magit/magit-scm.exheres-032
2 files changed, 33 insertions, 0 deletions
diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf
index d6aff63..25345ba 100644
--- a/metadata/repository_mask.conf
+++ b/metadata/repository_mask.conf
@@ -11,6 +11,7 @@
app-emacs/geiser[~scm]
app-emacs/git-modes[~scm]
app-emacs/gnus[~scm]
+ app-emacs/magit[~scm]
app-emacs/slime[~scm]
app-emacs/twittering-mode[~scm]
) [[
diff --git a/packages/app-emacs/magit/magit-scm.exheres-0 b/packages/app-emacs/magit/magit-scm.exheres-0
new file mode 100644
index 0000000..b8bb40c
--- /dev/null
+++ b/packages/app-emacs/magit/magit-scm.exheres-0
@@ -0,0 +1,32 @@
+# Copyright 2013 Elias Pipping <pipping@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require elisp github
+
+SUMMARY="An improved git mode for Emacs"
+
+LICENCES="GPL-3"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS=""
+
+DEPENDENCIES="
+ build+run:
+ app-emacs/git-modes
+ run:
+ dev-scm/git
+"
+
+src_compile() {
+ emake BATCH="${EMACS} ${ELISP_FLAGS[*]} ${ELISP_COMPILE_FLAGS[*]}" lisp docs
+}
+
+src_test() {
+ emake BATCH="${EMACS} ${ELISP_FLAGS[*]} ${ELISP_COMPILE_FLAGS[*]}" test
+}
+
+src_install() {
+ emake install PREFIX=/usr DESTDIR="${IMAGE}"
+ elisp-install-site-file
+}
+