summaryrefslogtreecommitdiff
path: root/development/tkcvs/tkcvs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/tkcvs/tkcvs.SlackBuild')
-rw-r--r--development/tkcvs/tkcvs.SlackBuild19
1 files changed, 4 insertions, 15 deletions
diff --git a/development/tkcvs/tkcvs.SlackBuild b/development/tkcvs/tkcvs.SlackBuild
index d4d46270d9..138765d987 100644
--- a/development/tkcvs/tkcvs.SlackBuild
+++ b/development/tkcvs/tkcvs.SlackBuild
@@ -25,8 +25,8 @@
# Slightly modified by the SlackBuilds project
PRGNAM=tkcvs
-VERSION=8.1
-ARCH=${ARCH:-noarch}
+VERSION=8.2
+ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,12 +37,6 @@ OUTPUT=${OUTPUT:-/tmp}
SRCVERSION=$(echo $VERSION | tr . _)
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-fi
-
set -e
rm -rf $PKG
@@ -56,14 +50,9 @@ chmod -R u+w,go+r-w,a-s .
./doinstall.tcl -nox $PKG/usr
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-( cd $PKG/usr/man
+( cd $PKG/usr/man || exit 1
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
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION