opt/unison/Pkgfile

18 lines
527 B
Plaintext
Raw Normal View History

2006-12-22 19:15:21 +01:00
# Description: Bi-directional file synchronization tool
2021-03-08 13:28:15 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2022-11-10 10:36:52 +01:00
# URL: https://github.com/bcpierce00/unison
2021-03-08 13:28:15 +01:00
# Depends on: ocaml
2006-02-23 16:26:10 +01:00
name=unison
2023-04-28 17:00:33 +02:00
version=2.53.3
2023-03-21 15:28:59 +01:00
release=1
2021-03-08 13:28:15 +01:00
source=(https://github.com/bcpierce00/unison/archive/v$version/$name-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
2021-03-08 13:28:15 +01:00
cd $name-$version
make UISTYLE=text THREADS=true NATIVE=true
install -d $PKG/usr/{bin,share/man/man1}
2021-03-08 13:28:15 +01:00
install -m 0755 src/{unison,unison-fsmonitor} $PKG/usr/bin/
install -m 0644 man/unison.1 $PKG/usr/share/man/man1
2006-02-23 16:26:10 +01:00
}