aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmcliphist
diff options
context:
space:
mode:
authorShining <shining@freaknet.org>2010-05-13 00:23:23 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:23:23 +0200
commite1478dbcc09bc74db7e4fd23ec091230d7344313 (patch)
treea5efcc334d6d97bb3f809fa65ea255aa947369d0 /desktop/wmcliphist
parent7da63dcd3e39c0cb4c082453773503414907873c (diff)
desktop/wmcliphist: Updated for version 0.6
Diffstat (limited to 'desktop/wmcliphist')
-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 731f205bf995..b09bba9e895a 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 68c4d59e30a2..7b12f1ebe5a7 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"