[arch-commits] Commit in merlin/trunk (PKGBUILD)

Jürgen Hötzel juergen at archlinux.org
Fri Aug 16 06:34:23 UTC 2019


    Date: Friday, August 16, 2019 @ 06:34:23
  Author: juergen
Revision: 499758

OCaml 4.08 update/rebuild

Modified:
  merlin/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-16 06:34:14 UTC (rev 499757)
+++ PKGBUILD	2019-08-16 06:34:23 UTC (rev 499758)
@@ -1,8 +1,8 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org>
 
 pkgname=merlin
-pkgver=3.2.2
-pkgrel=2
+pkgver=3.3.2
+pkgrel=1
 pkgdesc="Context sensitive completion for OCaml in Vim and Emacs"
 arch=('x86_64')
 url="https://github.com/ocaml/merlin"
@@ -9,24 +9,19 @@
 license=('MIT')
 options=('!strip')
 depends=('glibc' 'ocaml-findlib')
-makedepends=('ocaml-yojson' 'dune')
+makedepends=('ocaml-yojson' 'dune' 'opam')
 source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('689ae38e2f50e7b02d257d502cb55e26b425b4ecb2108af9df7d769632694b17')
+sha256sums=('f0d9f51d529657f5b830ad6b2cd1fdd5ab6f229d28e521d33197a5b11fb88f9f')
 
 build() {
     cd ${pkgname}-${pkgver}
-    make build
+    dune build -p merlin
 }
 
-check() {
-    cd ${pkgname}-${pkgver}
-    make test || warning "Tests failed"
-}
-
 package() {
     cd ${pkgname}-${pkgver}
     
-    DESTDIR="${pkgdir}" dune install --prefix=/usr
+    DESTDIR="${pkgdir}" dune install merlin --prefix=/usr
 
     install -Dm644 LICENSE_MIT.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
 


More information about the arch-commits mailing list