[arch-commits] Commit in ocaml-zarith/repos (2 files)

Konstantin Gizdov kgizdov at archlinux.org
Mon Jan 18 11:18:42 UTC 2021


    Date: Monday, January 18, 2021 @ 11:18:42
  Author: kgizdov
Revision: 822791

archrelease: copy trunk to community-x86_64

Added:
  ocaml-zarith/repos/community-x86_64/
  ocaml-zarith/repos/community-x86_64/PKGBUILD
    (from rev 822790, ocaml-zarith/trunk/PKGBUILD)

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

Copied: ocaml-zarith/repos/community-x86_64/PKGBUILD (from rev 822790, ocaml-zarith/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-01-18 11:18:42 UTC (rev 822791)
@@ -0,0 +1,29 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Oliver Bandel <oliver at first.in-berlin.de>
+
+pkgname=ocaml-zarith
+provides=('zarith')
+pkgver=1.11
+pkgrel=1
+pkgdesc='Implements arithmetic and logical operations over arbitrary-precision integers and rational numbers'
+url='https://github.com/ocaml/Zarith'
+arch=('x86_64')
+license=('GPL2')
+depends=('gmp')
+makedepends=('ocaml>=4.11.1' 'ocaml-findlib' )
+source=("https://github.com/ocaml/Zarith/archive/release-${pkgver}.tar.gz")
+sha256sums=('f996af120a10fd06a8272ae99b7affd57cef49c57a3a596e2f589147dd183684')
+
+build() {
+  cd Zarith-release-${pkgver}
+
+  ./configure -installdir "${pkgdir}/usr/lib/ocaml" # install ignores DESTDIR
+  make -j1
+}
+
+package() {
+  cd Zarith-release-${pkgver}
+
+  mkdir -p "${pkgdir}/usr/lib/ocaml"
+  OCAMLFIND_LDCONF=ignore make install
+}



More information about the arch-commits mailing list