diff options
Diffstat (limited to 'network/konversation/konversation.SlackBuild')
-rw-r--r-- | network/konversation/konversation.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network/konversation/konversation.SlackBuild b/network/konversation/konversation.SlackBuild index 1c79c01d0c..185045d35e 100644 --- a/network/konversation/konversation.SlackBuild +++ b/network/konversation/konversation.SlackBuild @@ -9,7 +9,7 @@ VERSION=1.0.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$NAME OUTPUT=${OUTPUT:-/tmp} @@ -23,8 +23,6 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" -elif [ "$ARCH" = "athlon_xp" ]; then - SLKCFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -f fast-math -mmmx -m3dnow -msse -mfpmath=sse" fi rm -rf $PKG @@ -37,10 +35,12 @@ cd $NAME-$VERSION || exit 1 chown -R root:root . chmod -R a-s,u+w,go+r-w . +KDEPREF=$(kde-config --prefix) + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/opt/kde \ + --prefix=$KDEPREF \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ @@ -67,7 +67,7 @@ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs st if [ -d $PKG/usr/man ]; then ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; - for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) fi |