blob: f212acfcec314eca50d9f04d26a329d0e4bffd29 (
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
|
# Contributor: sballert <sballert@posteo.de>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-swiper-git
pkgver=0.12.0.r7.g039353d
pkgrel=1
pkgdesc="Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more."
url="https://github.com/abo-abo/swiper"
arch=('any')
license=('GPL3')
depends=('emacs')
makedepends=('git')
provides=('emacs-swiper')
conflicts=('emacs-swiper')
source=("emacs-swiper::git+https://github.com/abo-abo/swiper.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --tags | sed 's+-+.r+' | tr - .
}
build() {
cd "${pkgname%-git}"
make clean compile
}
check() {
cd "${pkgname%-git}"
make test || true
}
package() {
cd "${pkgname%-git}"
install -d "$pkgdir"/usr/share/emacs/site-lisp
install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp
}
|