summaryrefslogtreecommitdiff
path: root/pcr/emacs-org-mode/PKGBUILD
blob: ba0028fa43d13c99b7edd5461fa63b25ada9aa74 (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
33
34
35
36
37
38
# Contributor (Arch): Jiyunatori <tori_LEAVETHISOUT_@0xc29.net>
# Contributor (Arch): mdev
# adopted by domanov <domanov_LEAVETHISOUT_@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@hackers.camp>

pkgname=emacs-org-mode
_srcname=org
pkgver=8.2.6
pkgrel=1
pkgdesc="Emacs Org Mode"
arch=('any'
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-wes="si">}"
    make compile || return 1
}

package() {
    cd "${srcdir}/${_srcname}-${pkgver}"
    make prefix="${pkgdir<>)
url="http://orgmode.org/"
depends=(emacs)
license=('GPL')
install=emacs-org-mode.install
source=(http://orgmode.org/$_srcname-$pkgver.tar.gz)

build() {
    cd "${srcdir}/${_srcname}-${}/usr/share" install || return 1

    ## by default now we install also the contrib directory
    install -d -m755 $pkgdir/usr/share/emacs/site-lisp/org_contrib || return 1
    cp -r contrib/* $pkgdir/usr/share/emacs/site-lisp/org_contrib || return 1

pkgver##! proper install of info files (thanks mdev)
    ##! replace "orgmode" with "org" in the following lines if you want 
    ##! to an>$pkgdir/usr/share/info/orgmode || return 1
    rm $pkgdir/usr/share/info/org || return 1
}