blob: 8a9866e0c7591678ac3fed8e24cedb5c261bc4b7 (
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
31
32
33
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-tabbar-git
epoch=1
pkgver=2.2.390
pkgrel=2
pkgdesc="Emacs minor mode that displays a tab bar at the top"
arch=('any')
url="https://github.com/dholm/tabbar.git"
license=('GPL')
makedepends=('git')
source=("git+https://github.com/dholm/tabbar.git")
md5sums=('SKIP')
_gitname="tabbar"
pkgver() {
cd "$_gitname"
printf "%s.%s" "$(git describe --tags|tr -d v)" "$(git rev-list --count HEAD)"
}
build() {
cd "$_gitname"
emacs -Q -batch -L . -f batch-byte-compile *.el
}
package() {
cd "$_gitname"
install -d "$pkgdir"/usr/share/emacs/site-lisp/tabbar
for _i in *.el *.elc *.tiff *.png
do
install -Dm644 $_i "$pkgdir"/usr/share/emacs/site-lisp/tabbar/${_i}
done
}
|