diff options
author | Hans-Nikolai Viessmann | 2022-05-21 15:31:58 +0530 |
---|---|---|
committer | Hans-Nikolai Viessmann | 2022-05-21 15:31:58 +0530 |
commit | 429e8132833df155de3ac17135e1b09046ed3684 (patch) | |
tree | 665fbc76c0ce1073a7ac0f43ad9b4986b74b8305 | |
parent | 1beff7f454b3c625319cd36efd3a8b1f2e4b13ca (diff) | |
download | aur-cppo.tar.gz |
fix for dune 3.2.0 --libdir flag behaviour
For some reason (unclear from upstream docs), the flag now needs an
absolute path even though iff --prefix is given, it should be fine
with a relative path.... hmmmm
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = cppo pkgdesc = C-style preprocessor for OCaml pkgver = 1.6.9 - pkgrel = 1 + pkgrel = 2 url = https://github.com/ocaml-community/cppo arch = x86_64 license = BSD @@ -4,7 +4,7 @@ pkgname=cppo pkgver=1.6.9 -pkgrel=1 +pkgrel=2 pkgdesc="C-style preprocessor for OCaml" arch=('x86_64') url="https://github.com/ocaml-community/cppo" @@ -29,7 +29,8 @@ check() { package() { cd "${srcdir}/${pkgname}-${pkgver}" - DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml" + # hmmm, --libdir behaviour changed in dune 3.2.0, it must now be an absolute path?! + DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "/usr/lib/ocaml" install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/" |