diff options
Diffstat (limited to 'testing/ocaml-cppo/APKBUILD')
-rw-r--r-- | testing/ocaml-cppo/APKBUILD | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/testing/ocaml-cppo/APKBUILD b/testing/ocaml-cppo/APKBUILD index 2e55d7d563..8f34189e0e 100644 --- a/testing/ocaml-cppo/APKBUILD +++ b/testing/ocaml-cppo/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=ocaml-cppo _pkgname=cppo -pkgver=1.6.4 -pkgrel=5 +pkgver=1.6.6 +pkgrel=0 pkgdesc="C-style preprocessor for OCaml" url="https://github.com/mjambon/cppo" arch="all !x86 !armhf !armv7 !s390x" # limited by ocaml @@ -12,27 +12,23 @@ makedepends="dune ocaml ocaml-ocamlbuild-dev ocaml-findlib opam" options="textrels" # needed for ppc64le subpackages="$pkgname-dev $pkgname-ocamlbuild" source="$pkgname-$pkgver.tar.gz::https://github.com/mjambon/$_pkgname/archive/v$pkgver.tar.gz - ppc64le-asr.patch " builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" - jbuilder build --root . @install @DEFAULT + dune build --root . @install @DEFAULT } 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 cd "$pkgdir" @@ -64,5 +60,4 @@ dev() { mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ } -sha512sums="89c6df66d597d929be7532ad82f0206b028bdbd79a0b4b39451bce3fa5bd63a80dce931d575f69bd7066de829347498c736657dfe9610b20700a652b9b542a4d ocaml-cppo-1.6.4.tar.gz -718b0bfb4c0106e153bde9cf9a52f79858f113b3a8ffd6c9f887c2b2fec16dd330e952786e322a3532200e34ae533828d9d98c3fa784910cd3f92fec56250533 ppc64le-asr.patch" +sha512sums="80b0d7a5f0f5b7d9d62ddfb204ebf5e3216c2926ba7f667b9ef10981de6a51cd6d670b7062769bf6fbdd163c1c8fb5426a74c31234ddc03ec94a75645bf469da ocaml-cppo-1.6.6.tar.gz" |