mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/ocaml-camomile: fix comments and code-style
This commit is contained in:
parent
3f18acf64d
commit
d6e775b8b8
@ -7,7 +7,6 @@ pkgrel=2
|
||||
pkgdesc="A Unicode library for OCaml"
|
||||
url="https://github.com/yoriyuki/Camomile"
|
||||
# x86, armhf, s390x: limited by ocaml aport
|
||||
# ppc64le: https://github.com/yoriyuki/Camomile/issues/39. Workaround by setting hard and soft stack limits
|
||||
arch="all !x86 !armhf !s390x"
|
||||
license="LGPL-2.0-or-later"
|
||||
depends="$pkgname-data=$pkgver-r$pkgrel ocaml-runtime"
|
||||
@ -17,11 +16,14 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/yoriyuki/$_pkgname/archive/r
|
||||
builddir="$srcdir/Camomile-rel-$pkgver"
|
||||
|
||||
build() {
|
||||
if [ "$CARCH" = "ppc64le" ]; then
|
||||
ulimit -Hs unlimited
|
||||
ulimit -Ss 65536
|
||||
fi
|
||||
cd "$builddir"
|
||||
|
||||
# Workaround for https://github.com/yoriyuki/Camomile/issues/39.
|
||||
if [ "$CARCH" = ppc64le ]; then
|
||||
ulimit -Hs unlimited
|
||||
ulimit -Ss 65536
|
||||
fi
|
||||
|
||||
jbuilder build @install
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user