# Template file for 'unison' pkgname=unison version=2.53.0 revision=1 hostmakedepends="ocaml" short_desc="File-synchronization tool" maintainer="Andrew J. Hesford " license="GPL-3.0-or-later" homepage="https://www.cis.upenn.edu/~bcpierce/unison/" distfiles="https://github.com/bcpierce00/unison/archive/v${version}.tar.gz" checksum=9364477df4501b9c7377e2ca1a7c4b44c1f16fa7cbc12b7f5b543d08c3f0740a nocross="OCaml does not cross compile" do_build() { CFLAGS= make ${makejobs} UISTYLE=text DEBUGGING=false THREADS=true CFLAGS= make ${makejobs} -C man } do_check() { mkdir -p ./tmp HOME="${PWD}/tmp" TMPDIR="${PWD}/tmp" ./src/unison -selftest } do_install() { vbin src/unison vbin src/unison-fsmonitor vman man/unison.1 }