[arch-commits] Commit in (menhir menhir/repos menhir/trunk menhir/trunk/PKGBUILD)
Bruno Pagani
archange at archlinux.org
Mon Jul 1 14:56:05 UTC 2019
Date: Monday, July 1, 2019 @ 14:56:05
Author: archange
Revision: 487082
Initial addition of OCaml menhir to [community]
Added:
menhir/
menhir/repos/
menhir/trunk/
menhir/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Added: menhir/trunk/PKGBUILD
===================================================================
--- menhir/trunk/PKGBUILD (rev 0)
+++ menhir/trunk/PKGBUILD 2019-07-01 14:56:05 UTC (rev 487082)
@@ -0,0 +1,25 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=menhir
+pkgver=20190626
+pkgrel=1
+pkgdesc="LR(1) parser generator for OCaml"
+arch=(x86_64)
+url="http://cristal.inria.fr/~fpottier/menhir/"
+license=(GPL2 LGPL3)
+depends=(ocaml)
+makedepends=(ocamlbuild ocaml-findlib)
+source=("https://gitlab.inria.fr/fpottier/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('27639743c1a7ba7cdeed3e8045bc28bf162475d2a99255aaf73da56c3e5fd28d')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make PREFIX="/usr" all
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
+ install -d "$OCAMLFIND_DESTDIR"
+ make PREFIX="${pkgdir}"/usr install
+}
More information about the arch-commits
mailing list