22 lines
603 B
Plaintext
22 lines
603 B
Plaintext
# Description: Bi-directional file synchronization tool
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# URL: https://github.com/bcpierce00/unison
|
|
# Depends on: ocaml
|
|
|
|
name=unison
|
|
version=2.53.1
|
|
release=2
|
|
source=(https://github.com/bcpierce00/unison/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# fix version string
|
|
sed '/^VERSION/s/0/1/' -i src/Makefile.ProjectInfo
|
|
|
|
make UISTYLE=text THREADS=true NATIVE=true
|
|
install -d $PKG/usr/{bin,share/man/man1}
|
|
install -m 0755 src/{unison,unison-fsmonitor} $PKG/usr/bin/
|
|
install -m 0644 man/unison.1 $PKG/usr/share/man/man1
|
|
}
|