void-packages/srcpkgs/unison/template

22 lines
589 B
Bash

# Template file for 'unison'
pkgname=unison
version=2.52.0
revision=2
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=a11389971212915328fe69101c92737b17664595c4318ebcb8da367e5ba63540
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
}