blob: 6bb98bcc48e6f46ef77c311a0e6c3c8788190fd0 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: aksr <aksr at t-com dot me>
pkgname=emacs-lyqi-mode-git
pkgver=r78.4876a0f
pkgrel=2
epoch=
pkgdesc="Emacs mode for LilyPond editing."
arch=('any')
url="https://github.com/nsceaux/nenuvar"
license=('GPLv3')
groups=()
depends=('emacs' 'lilypond')
makedepends=('git' 'wget')
optdepends=()
checkdepends=()
provides=()
conflicts=('emacs-lyqi-mode')
replaces=()
backup=()
options=()
changelog=
install=${pkgname}.install
source=("$pkgname::git+https://github.com/nsceaux/lyqi.git")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
make lyqi-help-index.el
make lyqi-help-index.el
make lyqi-words.el
make lyqi.elc
}
package() {
cd "$srcdir/$pkgname"
mkdir -p $pkgdir/usr/share/emacs/site-lisp
install -m644 *.el $pkgdir/usr/share/emacs/site-lisp/
install -Dm644 README $pkgdir/usr/share/doc/$pkgname/README
install -Dm644 lilypond-index.html $pkgdir/usr/share/doc/$pkgname/lilypond-index.html
}
|