[arch-commits] Commit in ocaml-num/trunk (PKGBUILD)

Konstantin Gizdov kgizdov at archlinux.org
Wed Apr 21 14:29:55 UTC 2021


    Date: Wednesday, April 21, 2021 @ 14:29:55
  Author: kgizdov
Revision: 920520

4.11.1 rebuild

Modified:
  ocaml-num/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-21 14:13:43 UTC (rev 920519)
+++ PKGBUILD	2021-04-21 14:29:55 UTC (rev 920520)
@@ -1,30 +1,31 @@
-# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
 
 pkgname=ocaml-num
 pkgver=1.4
-pkgrel=1
+pkgrel=2
 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>=4.11.0')
+depends=('ocaml>=4.11.1')
 makedepends=('ocaml-findlib')
 options=('!strip' '!makeflags')
-source=($pkgname-$pkgver.tar.gz::https://github.com/ocaml/num/archive/v$pkgver.tar.gz)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ocaml/num/archive/v${pkgver}.tar.gz")
 sha512sums=('0cc9be8ad95704bb683b4bf6698bada1ee9a40dc05924b72adc7b969685c33eeb68ccf174cc09f6a228c48c18fe94af06f28bebc086a24973a066da620db8e6f')
 
 build() {
-  cd "$srcdir/num-$pkgver"
+  cd "${srcdir}/num-${pkgver}"
   make
 }
 
 package() {
-  cd "$srcdir/num-$pkgver"
+  cd "${srcdir}/num-${pkgver}"
 
-  local _destdir="$pkgdir$(ocamlfind printconf destdir)"
-  install -d "$_destdir/stublibs"
+  local _destdir="${pkgdir}$(ocamlfind printconf destdir)"
+  install -d "${_destdir}/stublibs"
 
-  make OCAMLFIND_DESTDIR="$_destdir" findlib-install
+  make OCAMLFIND_DESTDIR="${_destdir}" findlib-install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list