blob: 71d4af892a9e3b451999c8d4cd76cef5c6a7de0a (
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 (Arch): Limao Luo <luolimao+AUR@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
# parabola changes and rationale:
# - upstream pkgbuild is gone but we keep maintaining this.
pkgname=emacs-tuareg-mode
pkgver=2.1.0
pkgrel=1
pkgdesc="Emacs tuareg mode for ocaml"
arch=(any)
url=https://github.com/ocaml/tuareg
license=(GPL)
depends=(emacs)
install=$pkgname.install
source=($pkgname-$pkgver.tar.gz::https://github.com/ocaml/tuareg/archive/$pkgver.tar.gz)
sha512sums=('ef554c45ff03bf9a4a4f96c91cdd26e8ec020c19b47dbc73722f6cfe5b25983e784cb132d8959190ee56cf3ebc61e0554d687f53ce081380202d896a4be845b7')
build() {
cd "$srcdir"/tuareg-$pkgver/
make elc
}
package() {
cd "$srcdir"/tuareg-$pkgver/
for i in *.el{,c}; do
install -Dm644 $i "$pkgdir"/usr/share/emacs/site-lisp/tuareg/$i
done
install -Dm644 README.md "$pkgdir"/usr/share/doc/tuareg/README.md
}
|