blob: 6966a2b27405fe9e3faa1aff909ea7605ad77c20 (
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: Alex Whitt <alex.joseph.whitt@gmail.com>
pkgname=emacs-evil-surround
pkgver=1.0.0
pkgrel=1
pkgdesc="you will be surrounded (surround.vim for evil, the extensible vi layer)"
url="https://github.com/timcharper/evil-surround"
arch=('any')
license=('GPL3')
depends=('emacs' 'emacs-evil')
makedepends=('git')
provides=('emacs-evil-surround')
source=("https://github.com/timcharper/evil-surround/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "${srcdir}/evil-surround-${pkgver}"
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}
package() {
cd "${srcdir}/evil-surround-${pkgver}"
install -d "${pkgdir}/usr/share/emacs/site-lisp/evil-surround"
install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/evil-surround/"
}
|