blob: 0f8418f3c8f973b9cc04c5b06fc3bdeaaa9f8799 (
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
|
# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>
pkgname=emacs-iedit
pkgver=0.90
pkgrel=2
pkgdesc="Edit multiple regions with the same content simultaneously"
arch=(any)
url="https://github.com/tsdh/iedit"
license=('GPL3')
depends=('emacs')
source=("https://github.com/tsdh/iedit/archive/${pkgver}.tar.gz"
"https://raw.githubusercontent.com/tsdh/iedit/master/iedit-lib.el")
sha256sums=('SKIP' 'SKIP')
build() {
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
cd "${srcdir}/iedit-${pkgver}"
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}
package() {
mkdir -p "${pkgdir}/usr/share/emacs/site-lisp/iedit/"
install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/iedit/"
cd "${srcdir}/iedit-${pkgver}"
install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/iedit/"
}
|