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

pkgname=emacs-epc
pkgver=0.1.1
pkgrel=4
pkgdesc="An RPC stack for Emacs Lisp"
url="https://github.com/kiwanami/emacs-epc"
arch=('any')
license=('GPL3')
depends=('emacs' 'emacs-ctable' 'python-epc' 'emacs-deferred')
makedepends=('git')
provides=('emacs-epc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/kiwanami/emacs-epc/archive/${pkgver}.tar.gz")
sha256sums=('SKIP')

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

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