blob: dbff05b6b860287853471afbc2c75e0f19112960 (
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
39
|
# 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@cwb.io>
pkgname=emacs-org-mode
_srcname=org
pkgver=7.9.2
pkgrel=1
pkgdesc="Emacs Org Mode"
arch=('any')
url="http://orgmode.org/"
depends=(emacs)
license=('GPL')
install=emacs-org-mode.install
source=(http://orgmode.org/$_srcname-$pkgver.tar.gz)
md5sums=('e79441ff81c176e70230937e09f6042c')
build() {
cd "${srcdir}/${_srcname}-${pkgver}"
make compile || return 1
}
package() {
cd "${srcdir}/${_srcname}-${pkgver}"
make prefix="${pkgdir}/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
##! proper install of info files (thanks mdev)
##! replace "orgmode" with "org" in the following lines if you want
##! to replace emacs own org's info files. You also need to change the .install.
install -D -m644 doc/org $pkgdir/usr/share/info/orgmode || return 1
gzip -9 $pkgdir/usr/share/info/orgmode || return 1
rm $pkgdir/usr/share/info/org || return 1
}
md5sums=('e79441ff81c176e70230937e09f6042c')
|