aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-csv/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-12 15:00:49 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-12 19:42:38 -0300
commit7bfe150753b1c38c65a72af09b080cfed6eb97b1 (patch)
treef66977890ff55d4f2a708ff30e42c363d96b668e /testing/ocaml-csv/APKBUILD
parentf1ae7b0f2dd4784aa7a67138e7a5e1a69868bfb6 (diff)
downloadaports-7bfe150753b1c38c65a72af09b080cfed6eb97b1.tar.gz
aports-7bfe150753b1c38c65a72af09b080cfed6eb97b1.tar.bz2
aports-7bfe150753b1c38c65a72af09b080cfed6eb97b1.tar.xz
testing/ocaml-csv: upgrade to 2.2
Diffstat (limited to 'testing/ocaml-csv/APKBUILD')
-rw-r--r--testing/ocaml-csv/APKBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/testing/ocaml-csv/APKBUILD b/testing/ocaml-csv/APKBUILD
index b9ef9f4cd4..5c25a66d8f 100644
--- a/testing/ocaml-csv/APKBUILD
+++ b/testing/ocaml-csv/APKBUILD
@@ -3,7 +3,7 @@
# TODO: Build csv-lwt (?).
pkgname=ocaml-csv
_pkgname=csv
-pkgver=2.1
+pkgver=2.2
pkgrel=0
pkgdesc="OCaml library for reading and writing CSV files"
url="https://github.com/Chris00/ocaml-csv"
@@ -18,17 +18,15 @@ builddir="$srcdir/$_pkgname-$pkgver"
options="textrels !check" # FIXME check requires package lwt
build() {
- cd "$builddir"
- jbuilder build -p csv @install
+ dune build -p csv @install
}
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 \
csv
cd "$pkgdir"
@@ -62,4 +60,4 @@ csvtool() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-sha512sums="8810d6c151b8ec1d6b070fac32c579267e57d1ed66f2249378d7ed513fb53919e3554e8f4cfe9cb6bfc74f35ec051e99458b7d215839e2a88fa3d301f3775b70 ocaml-csv-2.1.tar.bz2"
+sha512sums="f9db9f2b9934ba568c6546fc0ebbfcff7de9f3383b619a5bc49566bbbca37d8fc1ae967014012b9bf547ffd04911888df3c588bdefc0f24ce4869353f4f10207 ocaml-csv-2.2.tar.bz2"