1
0
forked from ports/opt

unison: fix version string, add man-page

This commit is contained in:
Juergen Daubert 2023-03-20 13:04:54 +01:00
parent daa7f1ede8
commit 7c125ec52e
3 changed files with 14 additions and 6 deletions

View File

@ -2,3 +2,7 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/unison
-rwxr-xr-x root/root usr/bin/unison-fsmonitor
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/unison.1.gz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Ts/WfPA8MYaph+nbvF3RPzUg8ADXYVFbmE7/HZ0wuhacNpiWz/JPH+D9D5c4gMi4VYiQcC1LV9pvJPQLEVHSgU=
SHA256 (Pkgfile) = 72272cfd0ed919e54ed4101b174ba402bdb269dc624cdface6918e461b0e4eff
SHA256 (.footprint) = 7dc9b1f53387cdee4c9da64f2da929d161ddc94f40576a6c07fd536ed0d04564
RWSE3ohX2g5d/d/N7yTldEVBGqjikPwVf5edtUX53xZ/v21cU1hjyYY8CSJx4vBlthpy1OnJJ4Wixt79+yXLXj1hDtKxqpPG7AA=
SHA256 (Pkgfile) = 222e4836173c14b2a0ec1ff45d32f14e3dd39a785784fdcc0b8f6af06db615d7
SHA256 (.footprint) = 813162eb48523b95893859d60595c70730732e7c3eadcc99843e607fbf6affc4
SHA256 (unison-2.53.1.tar.gz) = 8798ecbeb77e1c0e121dd9f5719202def1a861883ad9990aaef742e42a49c050

View File

@ -5,13 +5,17 @@
name=unison
version=2.53.1
release=1
release=2
source=(https://github.com/bcpierce00/unison/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
unset CFLAGS CXXFLAGS
# fix version string
sed '/^VERSION/s/0/1/' -i src/Makefile.ProjectInfo
make UISTYLE=text THREADS=true NATIVE=true
install -d $PKG/usr/bin
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
}