summaryrefslogtreecommitdiff
path: root/system/terminator/terminator.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/terminator/terminator.SlackBuild')
-rw-r--r--system/terminator/terminator.SlackBuild11
1 files changed, 5 insertions, 6 deletions
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