blob: 9d6fb3087a63639e50a757d61ae7477794142b5a (
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
30
31
|
# Maintainer (AUR): Alex Whitt <alex.joseph.whitt@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
# parabola changes and rationale:
# - added replaces for previous pkgname auto-complete (2018-02-01)
# - removed unnecessary makedepends: git
# - removed unnecessary provides
pkgname=emacs-auto-complete
pkgver=1.5.1
pkgrel=1
pkgdesc="A auto-complete declaration for simplifying your .emacs"
url="https://github.com/auto-complete/auto-complete"
arch=('any')
license=('GPL3')
depends=('emacs' 'emacs-popup-el' 'emacs-fuzzy')
source=("https://github.com/auto-complete/auto-complete/archive/v${pkgver}.tar.gz")
sha256sums=('1bfb4351c3e49681a875dab937c25b6b38e4bf8a8cd64bcba1954300242578cb')
install=${pkgname}.install
replaces=('auto-complete')
build() {
cd "${srcdir}/auto-complete-${pkgver}"
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}
package() {
cd "${srcdir}/auto-complete-${pkgver}"
install -d "${pkgdir}/usr/share/emacs/site-lisp/auto-complete"
install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/auto-complete/"
}
|