Jürgen Hötzel pushed to branch main at Arch Linux / Packaging / Packages / 
ocaml-num


Commits:
f3d5a70c by Juergen Hoetzel at 2025-11-01T14:35:07+01:00
upgpkg: 1.6-1: OCaml 5.4.0-1 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,16 @@
 pkgbase = ocaml-num
        pkgdesc = Library for arbitrary-precision integer and rational 
arithmetic that used to be part of the OCaml core distribution
-       pkgver = 1.5
-       pkgrel = 4
+       pkgver = 1.6
+       pkgrel = 1
        url = https://github.com/ocaml/num
        arch = x86_64
        license = LGPL2.1
-       makedepends = ocaml-findlib
+       makedepends = dune
        depends = ocaml
        options = !strip
        options = !makeflags
        options = !debug
-       source = 
ocaml-num-1.5.tar.gz::https://github.com/ocaml/num/archive/v1.5.tar.gz
-       sha512sums = 
110dd01140c1c96f5f067aa824bb63f74a26411dcaa65aaf04cb6c44b116ca02aaab9505f431c66964388ce4a31d86da5928b4c0e5557800e834de80bed46495
+       source = 
ocaml-num-1.6.tar.gz::https://github.com/ocaml/num/archive/v1.6.tar.gz
+       sha512sums = 
5cb32dfa9a9f0ad375bfd89079e9b1422979f3c089f61ef2300ad9cc64fb1fc25ed1f86b0267eb017f12ae41a574a959df5bfa39ab22c2be2f1ac84c3c671bdf
 
 pkgname = ocaml-num


=====================================
PKGBUILD
=====================================
@@ -2,30 +2,31 @@
 # Contributor: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
 
 pkgname=ocaml-num
-pkgver=1.5
-pkgrel=4
+pkgver=1.6
+pkgrel=1
 pkgdesc="Library for arbitrary-precision integer and rational arithmetic that 
used to be part of the OCaml core distribution"
 arch=('x86_64')
 url="https://github.com/ocaml/num";
 license=('LGPL2.1')
 depends=('ocaml')
-makedepends=('ocaml-findlib')
+makedepends=('dune')
 options=('!strip' '!makeflags' '!debug')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ocaml/num/archive/v${pkgver}.tar.gz";)
-sha512sums=('110dd01140c1c96f5f067aa824bb63f74a26411dcaa65aaf04cb6c44b116ca02aaab9505f431c66964388ce4a31d86da5928b4c0e5557800e834de80bed46495')
+sha512sums=('5cb32dfa9a9f0ad375bfd89079e9b1422979f3c089f61ef2300ad9cc64fb1fc25ed1f86b0267eb017f12ae41a574a959df5bfa39ab22c2be2f1ac84c3c671bdf')
 
 build() {
   cd "${srcdir}/num-${pkgver}"
-  make
+  dune build
 }
 
 package() {
   cd "${srcdir}/num-${pkgver}"
 
-  local _destdir="${pkgdir}$(ocamlfind printconf destdir)"
-  install -d "${_destdir}/stublibs"
+  install -dm755 "${pkgdir}$(ocamlfind printconf destdir)"
+  dune install --prefix "${pkgdir}/usr" \
+    --libdir "${pkgdir}$(ocamlfind printconf destdir)"
 
-  make OCAMLFIND_DESTDIR="${_destdir}" findlib-install
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ocaml-num/-/commit/f3d5a70c99c02bf7148451d4a3170b0e24b80372

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ocaml-num/-/commit/f3d5a70c99c02bf7148451d4a3170b0e24b80372
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to