unison: update to 2.53.7.

This commit is contained in:
Andrew J. Hesford 2024-11-13 13:46:19 -05:00
parent 19ef5db726
commit f9ba997c8c
1 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'unison'
pkgname=unison
version=2.53.5
version=2.53.7
revision=1
hostmakedepends="ocaml"
short_desc="File-synchronization tool"
@ -8,12 +8,20 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
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=330418ad130d93d0e13da7e7e30f9b829bd7c0e859355114bd4644c35fe08d23
checksum=a259537cef465c4806d6c1638c382620db2dd395ae42a0dd2efa3ba92712bed5
nocross="OCaml does not cross compile"
nostrip="$(vopt_if native '' yes)"
build_options="native"
desc_option_native="Use ocamlopt for native compilation"
case "$XBPS_TARGET_MACHINE" in
x86_64*) build_options_default="native" ;;
esac
do_build() {
command -v ocamlc.opt >/dev/null && NATIVE=true || NATIVE=false
CFLAGS= make ${makejobs} DEBUGGING=false THREADS=true NATIVE=$native
local _native="$(vopt_if native true)"
CFLAGS= make ${makejobs} DEBUGGING=false THREADS=true NATIVE="${_native}"
CFLAGS= make ${makejobs} -C man
}