opt/unison/Pkgfile

20 lines
654 B
Plaintext

# Description: Bi-directional file synchronization tool
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
# Packager: Markus Ackermann, maol at symlink dot ch
# URL: http://www.cis.upenn.edu/~bcpierce/unison/
# Depends on: ocaml
name=unison
version=2.32.52
release=2
source=(http://www.cis.upenn.edu/~bcpierce/unison/download/releases/$name-$version/$name-$version.tar.gz
$name-${version}_ocaml-3.12.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-${version}_ocaml-3.12.patch
unset CFLAGS CXXFLAGS
make -j1 UISTYLE=text THREADS=true
install -D -m 755 unison $PKG/usr/bin/unison
}