blob: 938020f35055be374d69dbf6c01760ce5b6b8ab5 (
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
|
# Maintainer: Pieter Goetschalckx <3.14.e.ter <at> gmail <dot> com>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=merlin-git
_pkgname=merlin
pkgver=20160325
pkgrel=1
pkgdesc="Context sensitive completion for OCaml in Vim and Emacs (ocamlmerlin binary only)"
arch=('i686' 'x86_64')
depends=('ocaml' 'ocaml-findlib' 'ocaml-yojson')
makedepends=('git')
url="https://github.com/the-lambda-church/merlin"
license=('MIT')
source=(git+https://github.com/the-lambda-church/merlin)
sha256sums=('SKIP')
options=('!strip')
provides=('merlin')
conflicts=('merlin' 'vim-ocaml-merlin-git')
pkgver() {
cd ${_pkgname}
git log -1 --format="%cd" --date=short | sed "s|-||g"
}
build() {
cd ${_pkgname}
./configure --prefix "/usr"
make ocamlmerlin
}
package() {
cd ${_pkgname}
install -Dm 644 LICENSE_MIT.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE_MIT.txt"
make DESTDIR="$pkgdir" install-binary
}
|