aboutsummaryrefslogtreecommitdiff
path: root/desktop/sawfish-session-dialog
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-09-08 23:17:11 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-09-08 23:17:11 +0100
commit8c4baf35c6da5ce67be3866d5044a51a9474877b (patch)
tree0b5e5b4dbd387b396d6c71e29b871d1bf948d49e /desktop/sawfish-session-dialog
parentbc8f3beb664e66205d0a0c6127b63f5ab143a45b (diff)
desktop/sawfish-session-dialog: Updated for version 20150813.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/sawfish-session-dialog')
-rw-r--r--desktop/sawfish-session-dialog/doinst.sh13
-rw-r--r--desktop/sawfish-session-dialog/sawfish-session-dialog.SlackBuild27
-rw-r--r--desktop/sawfish-session-dialog/sawfish-session-dialog.info8
-rw-r--r--desktop/sawfish-session-dialog/slack-desc2
4 files changed, 19 insertions, 31 deletions
diff --git a/desktop/sawfish-session-dialog/doinst.sh b/desktop/sawfish-session-dialog/doinst.sh
deleted file mode 100644
index aea0f894eb32b..0000000000000
--- a/desktop/sawfish-session-dialog/doinst.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/desktop/sawfish-session-dialog/sawfish-session-dialog.SlackBuild b/desktop/sawfish-session-dialog/sawfish-session-dialog.SlackBuild
index c3a34c42e6e9a..5b004791b82b3 100644
--- a/desktop/sawfish-session-dialog/sawfish-session-dialog.SlackBuild
+++ b/desktop/sawfish-session-dialog/sawfish-session-dialog.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
+#
# Slackware build script for sawfish-session-dialog.
-
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+#
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sawfish-session-dialog
-SRCNAM=ssd
-VERSION=${VERSION:-0.41}
+VERSION=${VERSION:-20150813}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,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"
@@ -54,15 +54,17 @@ else
LIBDIRSUFFIX=""
fi
+SRCNAM=${SRCNAM:-ssd}
+SRCVER=${SRCVER:-0162acb5f9181b7dd4810a40720f449b1ef9f61f}
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${SRCNAM}_${VERSION}.tar.xz
-mv ${SRCNAM}_${VERSION} $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -90,12 +92,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
DOCS="AUTHORS COPYING COPYING.ICONS NEWS README"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/desktop/sawfish-session-dialog/sawfish-session-dialog.info b/desktop/sawfish-session-dialog/sawfish-session-dialog.info
index e5ce085842fde..41871bfb8f95a 100644
--- a/desktop/sawfish-session-dialog/sawfish-session-dialog.info
+++ b/desktop/sawfish-session-dialog/sawfish-session-dialog.info
@@ -1,8 +1,8 @@
PRGNAM="sawfish-session-dialog"
-VERSION="0.41"
-HOMEPAGE="http://sawfish.wikia.com/wiki/Main_Page"
-DOWNLOAD="http://download.tuxfamily.org/sawfish/Extras/ssd_0.41.tar.xz"
-MD5SUM="9e59c009fbefd116c87fea856b35f1b7"
+VERSION="20150813"
+HOMEPAGE="https://github.com/SawfishWM/ssd/"
+DOWNLOAD="https://github.com/SawfishWM/ssd/archive/0162acb/ssd-0162acb5f9181b7dd4810a40720f449b1ef9f61f.tar.gz"
+MD5SUM="8e994c707f9de92c712198a40fc48632"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="sawfish"
diff --git a/desktop/sawfish-session-dialog/slack-desc b/desktop/sawfish-session-dialog/slack-desc
index 4a26c9e501d7f..9f7cb794ae06c 100644
--- a/desktop/sawfish-session-dialog/slack-desc
+++ b/desktop/sawfish-session-dialog/slack-desc
@@ -11,7 +11,7 @@ sawfish-session-dialog:
sawfish-session-dialog: sawfish-session-dialog is a graphical Sawfish extension to edit
sawfish-session-dialog: the session preferences.
sawfish-session-dialog:
-sawfish-session-dialog: Home Page: http://sawfish.wikia.com/wiki/Main_Page
+sawfish-session-dialog: Home Page: https://github.com/SawfishWM/ssd/
sawfish-session-dialog:
sawfish-session-dialog:
sawfish-session-dialog: