diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/uni2ascii/uni2ascii.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/uni2ascii/uni2ascii.SlackBuild b/misc/uni2ascii/uni2ascii.SlackBuild index 7b789760d6..3d0388d109 100644 --- a/misc/uni2ascii/uni2ascii.SlackBuild +++ b/misc/uni2ascii/uni2ascii.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=uni2ascii VERSION=4.18 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -58,7 +58,10 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |