summaryrefslogtreecommitdiff
path: root/packages/app-emacs/magit/magit-scm.exheres-0
blob: b8bb40cf3ed2e19f5da2cca736e58f024c2922b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}