diff options
author | Chris Walker <kris240376@gmail.com> | 2018-09-23 00:15:34 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-09-23 06:58:12 +0700 |
commit | 4d89dfa70466b370db85588a8e0ccb6777589726 (patch) | |
tree | 6953b6da16872cd1cf2380a2fbaaa678f8f13e7a | |
parent | 761f5387b34306bad34ba0697930f5178dbb3983 (diff) | |
download | slackbuilds-4d89dfa70466b370db85588a8e0ccb6777589726.tar.gz |
office/SOGo: Update script.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | office/SOGo/SOGo.SlackBuild | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/office/SOGo/SOGo.SlackBuild b/office/SOGo/SOGo.SlackBuild index 6336472f63..fe87ab6f58 100644 --- a/office/SOGo/SOGo.SlackBuild +++ b/office/SOGo/SOGo.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=SOGo VERSION=${VERSION:-4.0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -93,14 +93,6 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG GNUSTEP_INSTALLATION_DOMAIN=SYSTEM -# The symbolic links created to libSOGo.so are broken; remove them and create -# symbolic links that work -( cd $PKG/usr/lib${LIBDIRSUFFIX}/sogo - ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so libSOGo.so - ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.4 libSOGo.so.4 - ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.4.0.2 libSOGo.so.4.0.2 -) - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -128,11 +120,13 @@ cat Scripts/logrotate > $PKG/etc/logrotate.d/sogo.new # Install configuration files mkdir -p $PKG/etc/{sogo,sysconfig} cat Scripts/sogo.conf > $PKG/etc/sogo/sogo.conf.new -sed -e "s,USER=sogo,USER=$PRGUSR,g" Scripts/sogo-default > $PKG/etc/sysconfig/sogo.new +sed -e "s,USER=sogo,USER=$PRGUSR,g" \ + Scripts/sogo-default > $PKG/etc/sysconfig/sogo.new # Install example SOGo Apache configuration files mkdir -p $PKG/etc/httpd/extra -cat Apache/SOGo.conf > $PKG/etc/httpd/extra/httpd-sogo.conf.new +sed -e "s,/lib/GNUstep,/lib${LIBDIRSUFFIX}/GNUstep,g" \ + Apache/SOGo.conf > $PKG/etc/httpd/extra/httpd-sogo.conf.new # Install documentation mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |