diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-12 14:54:05 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-12 19:42:34 -0300 |
commit | 9c5da100bc361789a684804623042a971404f8e9 (patch) | |
tree | 3a30c20a8e57d4de2b6282aaf8c3721f074708cf /testing/ocaml-wtf8 | |
parent | e7816e9ddc93d09fe3cbd31ca71cf320795168ca (diff) | |
download | aports-9c5da100bc361789a684804623042a971404f8e9.tar.bz2 aports-9c5da100bc361789a684804623042a971404f8e9.tar.xz |
testing/ocaml-wtf8: upgrade to 1.0.2
Diffstat (limited to 'testing/ocaml-wtf8')
-rw-r--r-- | testing/ocaml-wtf8/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/testing/ocaml-wtf8/APKBUILD b/testing/ocaml-wtf8/APKBUILD index 73e0d6fd82..b10559a65b 100644 --- a/testing/ocaml-wtf8/APKBUILD +++ b/testing/ocaml-wtf8/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=ocaml-wtf8 _pkgname=wtf8 -pkgver=1.0.1 +pkgver=1.0.2 pkgrel=0 pkgdesc="An ocaml library that implements a WTF-8 encoder and decoder" url="https://github.com/flowtype/ocaml-wtf8" @@ -13,20 +13,17 @@ makedepends="dune ocaml ocaml-findlib opam" options="!check" # no tests provided subpackages="$pkgname-dev" source="https://github.com/flowtype/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" - jbuilder build @install + dune build @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 # There's just a readme and changelog. rm -Rf "$pkgdir"/usr/doc @@ -50,4 +47,4 @@ dev() { mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ } -sha512sums="f5c76346dfb365d128625538e76d8bbf0a3901cf25f437763105f32ffdbd0fcf2a8748253c694840de4978fb5c758fc709fcb00606278fb2683bed2c7af35c4c ocaml-wtf8-1.0.1.tar.gz" +sha512sums="3e7a65e0085a84648e4758faf6873a7b6d037d0e45ac6be3f545b0ab9676287a31b803d5ceb0d93f8f34b771dd80b7b8770af06227a2ebfc8e0a9f12d21a7215 ocaml-wtf8-1.0.2.tar.gz" |