# Maintainer: Geballin - Guillaume Ballin # Contributor: Alex Whitt # Contributor: Stefan Husmann pkgname=emacs-company-mode pkgver=0.10.1 pkgrel=1 pkgdesc="Modular in-buffer completion framework for Emacs" url="http://company-mode.github.io" arch=('any') license=('GPL3') depends=('emacs') makedepends=('git') provides=('emacs-company-mode') source=("$pkgname-$pkgver.tar.gz::https://github.com/company-mode/company-mode/archive/${pkgver}.tar.gz") sha256sums=('25658e97b7e4b72c411c03991925f01dd8ec59e15848766c70c7471765f507a4') build() { cd company-mode-${pkgver} emacs -q --no-splash -batch -L . -f batch-byte-compile *.el } package() { cd company-mode-${pkgver} install -d "${pkgdir}"/usr/share/emacs/site-lisp/company-mode install -m644 *.el{c,} "${pkgdir}"/usr/share/emacs/site-lisp/company-mode/ }