void-packages/srcpkgs/unison/template

22 lines
589 B
Bash

# Template file for 'unison'
pkgname=unison
version=2.52.1
revision=1
hostmakedepends="ocaml"
short_desc="File-synchronization tool"
maintainer="allan <mail@may.mooo.com>"
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=ff7d920e1b4ec0872df764130b82a515f6f21a361f31a67b39c3e3ea12bfda80
nocross="OCaml does not cross compile"
do_build() {
CFLAGS= make ${makejobs} UISTYLE=text DEBUGGING=false THREADS=true
}
do_install() {
vbin src/unison
vbin src/unison-fsmonitor
}