diff options
author | Philip van der Hoeven <philip@vd-hoeven.nl> | 2018-04-11 23:00:59 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-14 07:06:28 +0700 |
commit | b3895225e009c8daedf49f86ec6629f895ddf2f2 (patch) | |
tree | cf583d0aa5c4130439d4b99fe8cd5429e554c7ef /network/remmina/remmina.SlackBuild | |
parent | 57ae6af847621873bb3f2577195d3911611aa6e1 (diff) |
network/remmina: Updated for version next20180405.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/remmina/remmina.SlackBuild')
-rw-r--r-- | network/remmina/remmina.SlackBuild | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/network/remmina/remmina.SlackBuild b/network/remmina/remmina.SlackBuild index 5dc5faf43fbf..94e4e67f6285 100644 --- a/network/remmina/remmina.SlackBuild +++ b/network/remmina/remmina.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2013 Luis Henrique # Copyright 2013 Niels Horn, Rio de Janeiro, RJ, Brazil -# Copyright 2015-2016 Philip van der Hoeven, Almere, The Netherlands +# Copyright 2015-2018 Philip van der Hoeven, Almere, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,19 +25,19 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=remmina -VERSION=${VERSION:-next20160509} +VERSION=${VERSION:-next20180405} +COMMIT=${COMMIT:-71cb7a156065d65d7b5465596ab9bc5aeb8b84ec} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=Remmina -TARVERSION=next +DIRNAME=Remmina-$COMMIT AVAHI=${AVAHI:-OFF} TELEPATHY=${TELEPATHY:-OFF} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -48,8 +48,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -67,9 +67,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$TARVERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $SRCNAM-$TARVERSION +rm -rf $DIRNAME +tar xvf $CWD/$COMMIT.tar.gz +cd $DIRNAME chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -86,21 +86,21 @@ cd build -DWITH_AVAHI=${AVAHI} \ -DWITH_TELEPATHY=${TELEPATHY} \ -DWITH_VTE=ON \ - -DWITH_SURVEY=OFF \ -DWITH_APPINDICATOR=OFF \ -DCMAKE_BUILD_TYPE=Release .. - make VERBOSE=1 make install DESTDIR=$PKG cd .. -# make install forgot these -mkdir -p $PKG/usr/include/remmina -cp -a remmina/include/remmina/*.h $PKG/usr/include/remmina - 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 +# Move manpages in their proper place. +mv $PKG/usr/share/man $PKG/usr/ + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |