aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-dtoa
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-12 14:56:33 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-12 19:42:35 -0300
commitbeb47e97b7817884b78b9fa5a9f6a8bca89989cf (patch)
treea332e83cb76bf5d8d6bbbf134482bbde3f0c007f /testing/ocaml-dtoa
parent512eca0985a849f75063e6b26af8f7cf00c036e3 (diff)
downloadaports-beb47e97b7817884b78b9fa5a9f6a8bca89989cf.tar.bz2
aports-beb47e97b7817884b78b9fa5a9f6a8bca89989cf.tar.xz
testing/ocaml-dtoa: upgrade to 0.3.2
Diffstat (limited to 'testing/ocaml-dtoa')
-rw-r--r--testing/ocaml-dtoa/APKBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/testing/ocaml-dtoa/APKBUILD b/testing/ocaml-dtoa/APKBUILD
index 9433cf3cfa..1773543eb9 100644
--- a/testing/ocaml-dtoa/APKBUILD
+++ b/testing/ocaml-dtoa/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ocaml-dtoa
_pkgname=dtoa
-pkgver=0.3.1
-pkgrel=1
+pkgver=0.3.2
+pkgrel=0
pkgdesc="double-to-ascii ocaml implementation"
url="https://github.com/flowtype/ocaml-dtoa"
arch="all !x86 !armhf !armv7 !s390x" # limited by ocaml aport
@@ -15,25 +15,21 @@ subpackages="$pkgname-dev"
source="https://github.com/flowtype/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz
bignum_align-noinline.patch
"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
- jbuilder build @install
+ dune build @install
}
check() {
- cd "$builddir"
- jbuilder runtest
+ dune runtest
}
package() {
- cd "$builddir"
-
mkdir -p "$pkgdir"/usr/lib/ocaml
- jbuilder install \
- --destdir="$pkgdir"/usr \
- --libdir="$pkgdir"/usr/lib/ocaml
+ dune install \
+ --destdir="$pkgdir" \
+ --prefix=/usr \
+ --libdir=/usr/lib/ocaml
# There's just a readme and changelog.
rm -Rf "$pkgdir"/usr/doc
@@ -55,5 +51,5 @@ dev() {
mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/
}
-sha512sums="25eb4f867759a37b42352ca43d5afeecf9baf9b2d9aa8c763dbae3e89581e960bd93ac02e497ac2053d56c1f851d5a8566a65652f9fd9fc6d2c66c525bd60fd2 ocaml-dtoa-0.3.1.tar.gz
+sha512sums="a5dcce83f53725c45b0891f6af6275c5e617d536a2d491852215c9aefbbd22c7ac65f2738795eaba3a162e360d2fa86b33a98cdefb030230045789179c300604 ocaml-dtoa-0.3.2.tar.gz
b5974d89debc14fb0beeb31a08d4a3d82298336488fc907005bcc2fcb1c5a1df12bc2b596956809f4982d9125995d01f08312f5591bd8857c6f0b136bf9aeb25 bignum_align-noinline.patch"