summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 857f78a27311d8f92e488a9a43935ee2cb290614 (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
# Maintainer: Jon Eyolfson <jon@eyl.io>
# Contributor: listx <linusarver <at> gmail <dot> com>
pkgname=emacs-undo-tree
pkgver=0.6.6
pkgrel=2
pkgdesc="Replace Emacs' undo system with an intuitive tree-based system."
arch=('any')
url="http://www.dr-qubit.org/tags/computing-code-emacs.html"
depends=('emacs')
license=('GPL')
provides=('emacs-undo-tree')
conflicts=('emacs-undo-tree')
install=$pkgname.install
source=("$pkgname"::'git+http://www.dr-qubit.org/git/undo-tree.git#tag=release/0.6.6')
sha256sums=('SKIP')

build() {
  cd "${srcdir}/${pkgname}"
  emacs -batch -f batch-byte-compile undo-tree.el
}

package() {
  cd "${srcdir}/${pkgname}"
  install -d $pkgdir/usr/share/emacs/site-lisp/undo-tree
  install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/undo-tree"
}