[arch-commits] Commit in ocaml-integers/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jürgen Hötzel juergen at archlinux.org
Fri Aug 16 05:58:14 UTC 2019


    Date: Friday, August 16, 2019 @ 05:58:13
  Author: juergen
Revision: 359871

archrelease: copy trunk to extra-x86_64

Added:
  ocaml-integers/repos/extra-x86_64/PKGBUILD
    (from rev 359870, ocaml-integers/trunk/PKGBUILD)
Deleted:
  ocaml-integers/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   60 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-16 05:57:32 UTC (rev 359870)
+++ PKGBUILD	2019-08-16 05:58:13 UTC (rev 359871)
@@ -1,30 +0,0 @@
-# Maintainer: Jürgen Hötzel <juergen at archlinux.org>
-
-pkgname=ocaml-integers
-pkgver=0.2.2
-pkgrel=2
-pkgdesc='Library for binding to C libraries using pure OCaml'
-arch=('i686' 'x86_64')
-url=https://github.com/ocamllabs/ocaml-integers
-license=('custom')
-options=('!strip')
-makedepends=('ocaml-topkg' 'ocaml-findlib' 'ocaml-compiler-libs' 'ocamlbuild' 'opam')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/$pkgname/archive/v$pkgver.tar.gz")
-md5sums=('f966342ad19682d4d5ade1e202388a81')
-
-
-build() {
-  cd ${pkgname}-$pkgver
-  make
-}
-
-package() {
-  cd ${pkgname}-$pkgver
-
-  opam-installer --prefix="${pkgdir}/usr" \
-    --libdir="${pkgdir}$(ocamlc -where)" \
-    --docdir="${pkgdir}/usr/share/doc" \
-    --stubsdir="${pkgdir}$(ocamlc -where)/stublibs"
-
-  install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE.md
-}

Copied: ocaml-integers/repos/extra-x86_64/PKGBUILD (from rev 359870, ocaml-integers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-16 05:58:13 UTC (rev 359871)
@@ -0,0 +1,30 @@
+# Maintainer: Jürgen Hötzel <juergen at archlinux.org>
+
+pkgname=ocaml-integers
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Library for binding to C libraries using pure OCaml'
+arch=('i686' 'x86_64')
+url=https://github.com/ocamllabs/ocaml-integers
+license=('custom')
+options=('!strip')
+makedepends=('ocaml-topkg' 'ocaml-findlib' 'ocaml-compiler-libs' 'ocamlbuild' 'opam')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('28715567848f07aa688a09496041731b')
+
+
+build() {
+  cd ${pkgname}-$pkgver
+  dune build --profile release
+}
+
+package() {
+  cd ${pkgname}-$pkgver
+
+  opam-installer --prefix="${pkgdir}/usr" \
+    --libdir="${pkgdir}$(ocamlc -where)" \
+    --docdir="${pkgdir}/usr/share/doc" \
+    --stubsdir="${pkgdir}$(ocamlc -where)/stublibs"
+
+  install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE.md
+}


More information about the arch-commits mailing list