1 # Contributor: Jiyunatori <tori_LEAVETHISOUT_@0xc29.net>
3 # adopted by domanov <domanov_LEAVETHISOUT_@gmail.com>
8 pkgdesc="Emacs Org Mode"
10 url="http://orgmode.org/"
13 install=emacs-org-mode.install
14 source=(http://orgmode.org/$_srcname-$pkgver.tar.gz)
17 cd "${startdir}/src/${_srcname}-${pkgver}"
19 ## get rid of DS_Store files
20 find . -name .DS_Store -exec rm {} \;
21 make compile || return 1
25 cd "${startdir}/src/${_srcname}-${pkgver}"
26 make prefix="${startdir}/pkg/usr" install || return 1
28 ## by default now we install also the contrib directory
29 install -d -m755 $pkgdir/usr/share/emacs/site-lisp/org_contrib || return 1
30 cp -r contrib/* $pkgdir/usr/share/emacs/site-lisp/org_contrib || return 1
32 ##! proper install of info files (thanks mdev)
33 ##! replace "orgmode" with "org" in the following lines if you want
34 ##! to replace emacs own org's info files. You also need to change the .install.
35 install -D -m644 doc/org $pkgdir/usr/share/info/orgmode || return 1
36 gzip -9 $pkgdir/usr/share/info/orgmode || return 1
39 md5sums=('a24d0bab3cfcb305321e14c9e9afedba')