From 4fad2ddac03f43322130bbcada1222846f18f4cc Mon Sep 17 00:00:00 2001 From: Alan Alberghini <414N@slacky.it> Date: Sun, 16 Dec 2012 17:44:04 -0500 Subject: system/terminator: Don't include icon-theme.cache files. Signed-off-by: dsomero --- system/terminator/terminator.SlackBuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'system/terminator/terminator.SlackBuild') diff --git a/system/terminator/terminator.SlackBuild b/system/terminator/terminator.SlackBuild index 60944da9fe..1961d69169 100644 --- a/system/terminator/terminator.SlackBuild +++ b/system/terminator/terminator.SlackBuild @@ -28,6 +28,7 @@ # # 1 - Initial release. # 20120206 - Updated for version 0.96 +# 20120916 - Removed icon-theme.cache from the package PRGNAM=terminator VERSION=${VERSION:-0.96} @@ -64,18 +65,16 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -./setup.py install --prefix=$PKG/usr -O2 +./setup.py --without-icon-cache install --prefix=$PKG/usr -O2 -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 # Need to adjust mandir location mv $PKG/usr/share/man $PKG/usr/man -( 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 -) +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3-80-g2a13