blob: 27ced4caa4609663494cb2a6d57703cbe67f23ea (
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
|
# Contributor: Richard Murri <admin@richardmurri.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-icicles
pkgver=23708 # Taken from icicles.el
pkgrel=1
pkgdesc="an emacs library that enhances minibuffer completion"
arch=('any')
url="http://www.emacswiki.org/emacs/Icicles"
license=('GPL')
makedepends=(wget)
install=icicles.install
pkgver() {
[ -d icicles ] && rm -r icicles
mkdir icicles
cd icicles
wget http://www.emacswiki.org/emacs/download/icicles{,-chg,-cmd1,-cmd2,-doc1,-doc2,-face,-fn,-mac,-mcmd,-mode,-opt,-var}.el
echo $(awk '/Update #:/ {print $4}' icicles.el)
emacs -Q -batch -L . -f batch-byte-compile *.el || true
}
package() {
install -d "$pkgdir"/usr/share/emacs/site-lisp/icicles
cp -r "$srcdir"/icicles/* "$pkgdir"/usr/share/emacs/site-lisp/icicles
}
|