blob: 994f1f2ba3aba521da6c5e9ed541ef2c5b3889f8 (
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
27
28
29
30
|
# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
pkgname=emacs-prop-menu-git
pkgver=20150728
pkgrel=5
pkgdesc="Compute pop-up menus from text and overlay properties"
arch=('any')
url="https://github.com/david-christiansen/prop-menu-el"
license=('GPL-3.0-or-later')
depends=('emacs')
makedepends=('git')
provides=('emacs-prop-menu')
conflicts=('emacs-prop-menu')
source=("git+https://github.com/david-christiansen/prop-menu-el")
b2sums=('SKIP')
_gitname="prop-menu-el"
pkgver() {
cd $_gitname
git log -1 --format='%cd' --date=short | tr -d -- '-'
}
package() {
cd $_gitname
emacs -batch -f batch-byte-compile prop-menu.el
mkdir -p $pkgdir/usr/share/emacs/site-lisp/prop-menu
install -Dm644 prop-menu.el prop-menu.elc $pkgdir/usr/share/emacs/site-lisp/prop-menu
}
|