summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristopher Price2025-04-21 19:24:03 -0700
committerChristopher Price2025-04-21 19:24:03 -0700
commitb5fbdea1c4394d707c3fe0ce59bc42c1ec79a434 (patch)
tree1eea32a0ba7101a5891b0ccc9c90c431540874c6 /PKGBUILD
parent754f484218eb4a2e3a753225486a6d3538a05032 (diff)
downloadaur-b5fbdea1c4394d707c3fe0ce59bc42c1ec79a434.tar.gz
fix build
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7d98dfa7a568..59dba9f3847b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/"