summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author nobody <nobody@nowhere>2010-05-13 00:41:53 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:53 +0200
commit44986a37538a4b8a5aa18b73265460b5b86265de (patch)
treeb246c2bf391c58ec140b6aa30bcaa2afd95ca6e8
parent0e0e951fbf25446e8475aa24a304c66354377da7 (diff)
downloadslackbuilds-44986a37538a4b8a5aa18b73265460b5b86265de.tar.gz
slackbuilds-44986a37538a4b8a5aa18b73265460b5b86265de.tar.xz
system/squeeze: Updated for version 0.2.3
-rw-r--r--system/squeeze/doinst.sh8
-rw-r--r--system/squeeze/squeeze.SlackBuild6
-rw-r--r--system/squeeze/squeeze.info2
3 files changed, 14 insertions, 2 deletions
diff --git a/system/squeeze/doinst.sh b/system/squeeze/doinst.sh
index 392c12adb9..1f8ff67ded 100644
--- a/system/squeeze/doinst.sh
+++ b/system/squeeze/doinst.sh
@@ -1,4 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
+ /usr/bin/update-desktop-database -q usr/share/applications >/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi
diff --git a/system/squeeze/squeeze.SlackBuild b/system/squeeze/squeeze.SlackBuild
index 4de3f7c988..212674e854 100644
--- a/system/squeeze/squeeze.SlackBuild
+++ b/system/squeeze/squeeze.SlackBuild
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -60,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \
@@ -82,4 +86,4 @@ 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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/squeeze/squeeze.info b/system/squeeze/squeeze.info
index 81f3b0c521..b9f69fd00e 100644
--- a/system/squeeze/squeeze.info
+++ b/system/squeeze/squeeze.info
@@ -3,6 +3,8 @@ VERSION="0.2.3"
HOMEPAGE="http://squeeze.xfce.org/"
DOWNLOAD="http://squeeze.xfce.org/downloads/squeeze-0.2.3.tar.bz2"
MD5SUM="bd3cb0648b49be1f146fc4f675606176"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="nobody"
EMAIL="nobody@nowhere"
APPROVED="rworkman"