blob: 6bd4e9f8d571964a7c7187fc4bcf8ce920e479b4 (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de
pkgname=emacs-bui
pkgver=1.2.1
pkgrel=1
pkgdesc="Buffer interface library for Emacs"
arch=('any')
url="https://github.com/alezost/bui.el"
license=('GPL')
depends=('emacs')
makedepends=('git' 'emacs-dash')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
md5sums=('daac3bfafdcca81c6f13c501fda275f1')
build() {
cd ${pkgname#emacs-}.el-$pkgver
emacs -Q -batch -L . -L /usr/share/emacs/site-lisp -f batch-byte-compile *.el || true
}
package() {
_pkg_emacs="$pkgdir/usr/share/emacs/site-lisp/"
cd ${pkgname#emacs-}.el-$pkgver
install -d $_pkg_emacs
cp *.el{,c} $_pkg_emacs
}
|