blob: b6271d9529da3566c911b9a9975a4fb09d9b14ed (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com>
pkgname=emacs-git-timemachine
pkgver=4.11
pkgrel=1
pkgdesc="Step through historic versions of git controlled file using everyone's favourite editor"
arch=('any')
url="https://gitlab.com/pidu/git-timemachine.git"
license=('GPL3')
depends=('emacs')
source=("https://gitlab.com/pidu/git-timemachine/-/archive/$pkgver/git-timemachine-$pkgver.tar.gz")
sha256sums=('5b143f561306fa9fa8bcc9b2e78e4cb49b0a64827718fff286f3b48af13eba70')
build() {
cd ${pkgname#emacs-}-${pkgver}
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}
package() {
cd ${pkgname#emacs-}-${pkgver}
install -d "$pkgdir"/usr/share/emacs/site-lisp/
install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/
install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}
|