summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5bc72699f358d5722653cee43a220d13b77781a (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
# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>

pkgname=emacs-epc
pkgver=0.1.1
pkgrel=3
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=("https://github.com/kiwanami/emacs-epc/archive/${pkgver}.tar.gz")
sha256sums=('SKIP')

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

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