[arch-commits] Commit in menhir/repos (community-x86_64 community-x86_64/PKGBUILD)

Bruno Pagani archange at archlinux.org
Mon Jul 1 14:56:44 UTC 2019


    Date: Monday, July 1, 2019 @ 14:56:44
  Author: archange
Revision: 487085

archrelease: copy trunk to community-x86_64

Added:
  menhir/repos/community-x86_64/
  menhir/repos/community-x86_64/PKGBUILD
    (from rev 487083, menhir/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: menhir/repos/community-x86_64/PKGBUILD (from rev 487083, menhir/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-07-01 14:56:44 UTC (rev 487085)
@@ -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