summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 16fe7dd171b9c469cfe6462f61fbcf4158d43f3b (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
# Maintainer: JaydenDev <jdev0894@gmail.com>
# Contributor: Davor Balder <dbalder@ozemail.com.au>
# Contributor: Jiyunatori <tori_LEAVETHISOUT_@0xc29.net>
# Contributor: mdev
# Previous Maintainer: gryffyn <aur@evan.mp>

pkgname=emacs-org-mode
_srcname=org-mode-release
pkgver=9.6.30
pkgrel=1
pkgdesc="Emacs Org Mode"
arch=('any')
url="http://orgmode.org/"
depends=('emacs')
optdepends=('java-runtime: For using ditaa.jar in the contrib directory'
	    'zsh: for using dir2org.zsh in the contrib directory')
license=('GPL')
install=emacs-org-mode.install
source=("https://git.savannah.gnu.org/cgit/emacs/org-mode.git/snapshot/${_srcname}_${pkgver}.tar.gz")
sha256sums=("1dbdb5e86a0e07d75cfbcd605c5def3a40ccf129cef5216a1f06fecccf7fcafe")

build() {
  cd "${_srcname}_${pkgver}"
  make autoloads
}

package() {
  cd "${_srcname}_${pkgver}"
  make DESTDIR="$pkgdir" install

  ls

  ##! 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.info "$pkgdir"/usr/share/info/orgmode.info
  gzip -9 "$pkgdir"/usr/share/info/orgmode.info
  rm "$pkgdir"/usr/share/info/org.info
}