[arch-commits] Commit in (4 files)

Jürgen Hötzel juergen at archlinux.org
Tue Aug 14 15:42:00 UTC 2018


    Date: Tuesday, August 14, 2018 @ 15:41:59
  Author: juergen
Revision: 331497

Add ocaml-result

Added:
  ocaml-result/
  ocaml-result/repos/
  ocaml-result/trunk/
  ocaml-result/trunk/PKGBUILD

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

Added: ocaml-result/trunk/PKGBUILD
===================================================================
--- ocaml-result/trunk/PKGBUILD	                        (rev 0)
+++ ocaml-result/trunk/PKGBUILD	2018-08-14 15:41:59 UTC (rev 331497)
@@ -0,0 +1,32 @@
+# Maintainer: Jürgen Hötzel <juergen at archlinux.org>
+
+_pkgname=result
+pkgname=ocaml-${_pkgname}
+pkgver=1.3
+pkgrel=1
+pkgdesc="Compatibility Result module"
+arch=('i686' 'x86_64' 'armv7h')
+url="https://github.com/janestreet/result"
+license=('BSD')
+depends=('ocaml')
+makedepends=('ocaml-findlib' 'dune')
+options=('!strip')
+source=("https://github.com/janestreet/result/archive/${pkgver}.tar.gz")
+sha256sums=('47a4a7abca084ac844716b047d4b26eacbd96174034c8836f35cd400e84c8db4')
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  jbuilder build
+}
+
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  install -dm755 "${pkgdir}$(ocamlfind printconf destdir)"
+  jbuilder install --prefix "${pkgdir}/usr" \
+    --libdir "${pkgdir}$(ocamlfind printconf destdir)"
+
+  install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+  mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
+}


Property changes on: ocaml-result/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list