blob: 3e8c60773236cbfa22d07a5d1b9b29d427135d06 (
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>
_pkgsrcname=parseedn
_pkgmaintainer=clojure-emacs
pkgver=1.2.1
pkgrel=1
pkgdesc="Clojure/EDN parser for elisp"
pkgname=emacs-parseedn
arch=('any')
url="https://github.com/${_pkgmaintainer}/${_pkgsrcname}"
license=('GPL3')
depends=('emacs-a' 'emacs-parseclj')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/v${pkgver}.tar.gz")
sha256sums=('c3597e96e6d0588b212778aa80a0aec935ab65e6ac91a305484b85f2e3ce5cb1')
build() {
cd ${_pkgsrcname}-${pkgver}
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}
package() {
cd ${_pkgsrcname}-${pkgver}
install -d "${pkgdir}"/usr/share/emacs/site-lisp/
install -m644 *.el{c,} "${pkgdir}"/usr/share/emacs/site-lisp
}
|