network/synergy: Updated for version 1.7.4

This commit is contained in:
Marcel Saegebarth 2015-08-14 09:56:01 +02:00 committed by Willy Sudiarto Raharjo
parent 011293b3d5
commit 0caa81790b
2 changed files with 15 additions and 15 deletions

View file

@ -25,9 +25,9 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=synergy
VERSION=${VERSION:-1.7.3}
REV=${REV:-stable-efd0108}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.7.4}
REV=${REV:-stable-c734bab}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -62,9 +62,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION-Source
tar xvf $CWD/$PRGNAM-v$VERSION-$REV-Source.tar.gz
cd $PRGNAM-$VERSION-Source
rm -rf $PRGNAM-v$VERSION-$REV-Source
tar xvf $CWD/$PRGNAM-v$VERSION-$REV-Source.tar.xz
cd $PRGNAM-v$VERSION-$REV-Source
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -83,27 +83,27 @@ mkdir -p $PKG/usr/bin $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/man/man1 \
$PKG/usr/share/icons/hicolor/256x256 $PKG/usr/share/applications
for file in synergy synergyc synergyd synergys syntool usynergy ; do
install -s -m 0755 $TMP/$PRGNAM-$VERSION-Source/bin/$file $PKG/usr/bin
install -s -m 0755 $TMP/$PRGNAM-v$VERSION-$REV-Source/bin/$file $PKG/usr/bin
done
for file in synergy.conf.example synergy.conf.example-advanced synergy.conf.example-basic ; do
install -m 0644 $TMP/$PRGNAM-$VERSION-Source/doc/$file $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 $TMP/$PRGNAM-v$VERSION-$REV-Source/doc/$file $PKG/usr/doc/$PRGNAM-$VERSION
done
for file in COMPILE ChangeLog INSTALL LICENSE README ; do
install -m 0644 $TMP/$PRGNAM-$VERSION-Source/$file $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 $TMP/$PRGNAM-v$VERSION-$REV-Source/$file $PKG/usr/doc/$PRGNAM-$VERSION
done
for file in synergyc.man synergys.man ; do
install -m 0644 $TMP/$PRGNAM-$VERSION-Source/doc/$file $PKG/usr/man/man1
install -m 0644 $TMP/$PRGNAM-v$VERSION-$REV-Source/doc/$file $PKG/usr/man/man1
done
find $PKG/usr/man/man1 -type f -name "*.man" -exec rename '.man' '.1' {} \;
find $PKG/usr/man/man1 -type f -name "*.?" -exec gzip -9f {} \;
install -m 0644 $TMP/$PRGNAM-$VERSION-Source/res/synergy.ico \
install -m 0644 $TMP/$PRGNAM-v$VERSION-$REV-Source/res/synergy.ico \
$PKG/usr/share/icons/hicolor/256x256
install -D -m 0644 $TMP/$PRGNAM-$VERSION-Source/res/synergy.desktop \
install -D -m 0644 $TMP/$PRGNAM-v$VERSION-$REV-Source/res/synergy.desktop \
$PKG/usr/share/applications
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="synergy"
VERSION="1.7.3"
VERSION="1.7.4"
HOMEPAGE="http://synergy-foss.org/"
DOWNLOAD="http://synergy-project.org/files/packages/synergy-v1.7.3-stable-efd0108-Source.tar.gz"
MD5SUM="09ab1f82f19949b4dff2e76c34a19a6a"
DOWNLOAD="https://s.mos6581.de/static/slackbuilds.org/sources/synergy-v1.7.4-stable-c734bab-Source.tar.xz"
MD5SUM="a5258a9aa213dfe48ea9cca382712ede"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="avahi"