summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ba18a00ac993e21e5f2c8f0f74950d0d97ab91c8 (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=1
pkgdesc="An RPC stack for Emacs Lisp"
url="https://github.com/kiwanami/emacs-epc"
arch=('any')
license=('GPL3')
depends=('emacs')
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/"
}