summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81b82bfd9aec358ef451f984ddaae363b3c4b384 (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
# Maintainer: sballert <sballert@posteo.de>
# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com>

pkgname=emacs-swiper
pkgver=0.10.0
pkgrel=1
pkgdesc="Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!"
url="https://github.com/abo-abo/swiper"
arch=('any')
license=('GPL3')
depends=('emacs')
makedepends=('git')
provides=('emacs-swiper')
conflicts=('emacs-swiper')
source=("https://github.com/abo-abo/swiper/archive/${pkgver}.tar.gz")
sha256sums=('b507579202e438103f2bd1925b4a5ddb9dccb85efdca5faf786d07f58521816e')

build() {
  cd "${srcdir}/swiper-${pkgver}"
  make clean test compile
}

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