aboutsummaryrefslogtreecommitdiff
path: root/system/squeeze
diff options
context:
space:
mode:
Diffstat (limited to 'system/squeeze')
-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 392c12adb9bd3..1f8ff67dedb29 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 4de3f7c988b8d..212674e854839 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 81f3b0c5214bb..b9f69fd00e2e1 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"