summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wmcliphist/wmcliphist.SlackBuild7
-rw-r--r--desktop/wmcliphist/wmcliphist.info2
2 files changed, 7 insertions, 2 deletions
diff --git a/desktop/wmcliphist/wmcliphist.SlackBuild b/desktop/wmcliphist/wmcliphist.SlackBuild
index 731f205bf9..b09bba9e89 100644
--- a/desktop/wmcliphist/wmcliphist.SlackBuild
+++ b/desktop/wmcliphist/wmcliphist.SlackBuild
@@ -17,10 +17,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
@@ -36,7 +39,7 @@ cd $PRGNAM-$VERSION
chmod -R u+w,go+r-w,a-s .
chown -R root:root .
-make
+make CFLAGS="$SLKCFLAGS \$(INCLUDES)"
mkdir -p $PKG/usr/bin
install -m 0755 -s $PRGNAM $PKG/usr/bin/$PRGNAM
@@ -50,4 +53,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/desktop/wmcliphist/wmcliphist.info b/desktop/wmcliphist/wmcliphist.info
index 68c4d59e30..7b12f1ebe5 100644
--- a/desktop/wmcliphist/wmcliphist.info
+++ b/desktop/wmcliphist/wmcliphist.info
@@ -3,6 +3,8 @@ VERSION="0.6"
HOMEPAGE="http://linux.nawebu.cz/wmcliphist"
DOWNLOAD="http://linux.nawebu.cz/wmcliphist/wmcliphist-latest.tar.gz"
MD5SUM="6cd9788321eb7c0c72bd00cb76f52789"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Shining"
EMAIL="shining@freaknet.org"
APPROVED="Erik Hanson"