diff options
author | Christopher Price | 2025-04-21 19:24:03 -0700 |
---|---|---|
committer | Christopher Price | 2025-04-21 19:24:03 -0700 |
commit | b5fbdea1c4394d707c3fe0ce59bc42c1ec79a434 (patch) | |
tree | 1eea32a0ba7101a5891b0ccc9c90c431540874c6 /PKGBUILD | |
parent | 754f484218eb4a2e3a753225486a6d3538a05032 (diff) | |
download | aur-b5fbdea1c4394d707c3fe0ce59bc42c1ec79a434.tar.gz |
fix build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,13 +1,15 @@ # Maintainer: Christopher Price <pricechrispy at gmail dot com> pkgname=ocaml-iostream +_pkgname=iostream pkgver=0.3 -pkgrel=1 +pkgrel=2 pkgdesc='generic I/O streams of bytes' arch=('x86_64') url='https://c-cube.github.io/ocaml-iostream/' license=('MIT') depends=( 'ocaml>=4.08.0' +'ocaml-findlib' ) makedepends=( 'dune' @@ -21,13 +23,13 @@ build() { export OCAMLPATH="$(ocamlfind printconf destdir)" - dune build -p "$pkgname" + dune build -p "$_pkgname" } package() { cd "${srcdir}/${pkgname}-${pkgver}" - dune install "$pkgname" --destdir="${pkgdir}" --prefix="/usr" --libdir="$(ocamlfind printconf destdir)" + dune install "$_pkgname" --destdir="${pkgdir}" --prefix="/usr" --libdir="$(ocamlfind printconf destdir)" install -dm755 "${pkgdir}/usr/share/" |