aboutsummaryrefslogtreecommitdiff
path: root/system/unison/unison.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/unison/unison.SlackBuild')
-rw-r--r--system/unison/unison.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/system/unison/unison.SlackBuild b/system/unison/unison.SlackBuild
index 3e82e4a68b31b..4fd5c8e30c784 100644
--- a/system/unison/unison.SlackBuild
+++ b/system/unison/unison.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for unison
# Copyright 2007-2011 Ferenc Deak <ferenc.deak@gmail.com>
-# Copyright 2018,2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2018,2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=unison
-VERSION=${VERSION:-2.51.3}
+VERSION=${VERSION:-2.51.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,10 +64,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-if [ "$(ocamlc --version | cut -d. -f1)" = "4" ] && [ "$(ocamlc --version | cut -d. -f2)" = "03" ] ; then
- zcat $CWD/old_ocaml.diff.gz | patch -p1
-fi
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -130,7 +126,8 @@ install -m 0644 icons/U.32x32x16m.png $PKG/usr/share/pixmaps/$PRGNAM.png
yes '' | make -C doc real
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a src/{BUGS.txt,CONTRIB,COPYING,INSTALL*,NEWS,README,ROADMAP.txt,TODO.txt} $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a src/{CONTRIB,COPYING,INSTALL*,NEWS,README,ROADMAP.txt,TODO.txt} $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 doc/unison-manual.pdf $PKG/usr/doc/$PRGNAM-$VERSION
# html manual only built if hevea installed