blob: ed2e3d398c7d5158cebed69eca6b9a7674b7ecda (
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
|
# -*- mode: shell-script -*-
# Code adapted from similar PKGBUILDS in the community repos (llvm,
# emacs-python-mode, and emacs-haskell-mode).
# Maintainer: ben01189998819991197253 <dev.ben01189998819991197253+aur@gmail.com>
pkgname='emacs-llvm-mode'
pkgdesc="Emacs syntax highlighting mode for LLVM IR"
install=emacs-llvm-mode.install
pkgver=7.0.1
pkgrel=1
arch=('any')
depends=('emacs')
url="https://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
source=(https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz)
sha256sums=('a38dfc4db47102ec79dcc2aa61e93722c5f6f06f0a961073bd84b78fb949419b')
package() {
cd "$srcdir/llvm-$pkgver.src/utils/emacs"
install -dm755 "$pkgdir/usr/share/emacs/site-lisp/$pkgname"
install -Dm644 *.el -t "$pkgdir/usr/share/emacs/site-lisp/$pkgname"
install -Dm644 README -t "$pkgdir/usr/share/doc/$pkgname/"
install -Dm644 "../../LICENSE.TXT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|