void-packages/srcpkgs/unison/template
2021-10-03 13:05:58 +02:00

21 lines
589 B
Bash

# Template file for 'unison'
pkgname=unison
version=2.51.4
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=d1ecc7581aaf2ed0f3403d4960f468acd7b9f1d92838a17c96e6d1df79b802d5
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
}