aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-yojson/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-26 16:38:19 -0300
committerTBK <tbk@jjtc.eu>2019-05-27 02:50:57 +0200
commit4862b760c649af2c86127e8e65fd74bad19ee189 (patch)
tree7f510841877d265ffad5dc7b1056909cd609dcd3 /testing/ocaml-yojson/APKBUILD
parenta9fbc5ad6f1f6c638be0c7825579eb5640a9f58b (diff)
downloadaports-4862b760c649af2c86127e8e65fd74bad19ee189.tar.bz2
aports-4862b760c649af2c86127e8e65fd74bad19ee189.tar.xz
testing/ocaml-yojson: rebuild againt new ocaml
Closes: GH-8153
Diffstat (limited to 'testing/ocaml-yojson/APKBUILD')
-rw-r--r--testing/ocaml-yojson/APKBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/testing/ocaml-yojson/APKBUILD b/testing/ocaml-yojson/APKBUILD
index 67d84aa69b..38345166d8 100644
--- a/testing/ocaml-yojson/APKBUILD
+++ b/testing/ocaml-yojson/APKBUILD
@@ -3,7 +3,7 @@
pkgname=ocaml-yojson
_pkgname=yojson
pkgver=1.4.1
-pkgrel=2
+pkgrel=3
pkgdesc="JSON parsing and pretty-printing library for OCaml"
url="https://github.com/mjambon/yojson"
arch="all !x86 !armhf !armv7 !s390x" # limited by ocaml aport
@@ -16,18 +16,14 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/mjambon/$_pkgname/archive/v$
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
jbuilder build @install
}
check() {
- cd "$builddir"
jbuilder runtest
}
package() {
- cd "$builddir"
-
mkdir -p "$pkgdir"/usr/lib/ocaml
jbuilder install \
--destdir="$pkgdir"/usr \