summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b485416f1ada333aceb4e402aeda6e6fb6d57c8 (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
# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=emacs-iedit
pkgver=0.9.9.9
pkgrel=2
pkgdesc="Edit multiple regions with the same content simultaneously"
arch=('any')
url="https://github.com/victorhge/iedit"
license=('GPL3')
depends=('emacs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/victorhge/iedit/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')

build() {
  cd iedit-$pkgver
  emacs -q --no-splash -batch -L . -f batch-byte-compile iedit{-lib,-rect,}*.el
}

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