blob: cc7e4177b38994fe238ea2255b502cea02050d37 (
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=a.el
_pkgmaintainer=plexus
pkgver=1.0.0
pkgrel=1
pkgdesc="Clojure Parser for Emacs Lisp"
pkgname=emacs-a
arch=('any')
url="https://github.com/${_pkgmaintainer}/a.el"
license=('GPL3')
depends=('emacs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/v${pkgver}.tar.gz")
sha256sums=('743c7171070332a56d382b2f7ee938db72d993a56762f0198084d09236341978')
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
}
|