blob: 02d40d1333f097087872eff19affcb71fc3a0246 (
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
|
# Contributor: sballert <sballert@posteo.de>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-hydra-git
pkgver=0.15.0.r1.ge94b391
pkgrel=1
pkgdesc="Make Emacs bindings that stick around"
url="https://github.com/abo-abo/hydra"
arch=('any')
license=('GPL3')
depends=('emacs')
makedepends=('git')
provides=('emacs-hydra')
conflicts=('emacs-hydra')
source=("git+https://github.com/abo-abo/hydra.git")
sha256sums=('SKIP')
_gitname="hydra"
pkgver() {
cd "$_gitname"
git describe --tags | sed 's+-+.r+' | tr - .
}
build() {
cd "$_gitname"
make clean test compile
}
package() {
cd "$_gitname"
install -d "$pkgdir"/usr/share/emacs/site-lisp/
install -m644 {hydra-ox,hydra,lv}.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/
}
|