aboutsummaryrefslogtreecommitdiff
path: root/office/ding/ding.SlackBuild
diff options
context:
space:
mode:
authorMartin Ivanov <tramni@abv.bg>2010-05-12 17:44:38 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:44:38 +0200
commit72cb5c3b789f5c28089200b4e8bf6904ec1909dc (patch)
treeda4d1786f9254706e17ec79c0fbb949ee8d01744 /office/ding/ding.SlackBuild
parenta03e58c043121f18f716b834714625d3c9a5e1cb (diff)
office/ding: Updated for version 1.6
Diffstat (limited to 'office/ding/ding.SlackBuild')
-rw-r--r--office/ding/ding.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/office/ding/ding.SlackBuild b/office/ding/ding.SlackBuild
index a57c3291c2c4..d22d95317d1b 100644
--- a/office/ding/ding.SlackBuild
+++ b/office/ding/ding.SlackBuild
@@ -10,7 +10,7 @@
# Heavily Modified by Michiel van Wessem <michiel@slackbuilds.org> 20081020
PRGNAM=ding
-VERSION=1.5
+VERSION=1.6
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,10 +46,8 @@ cp de-en.txt $PKG/usr/share/dict|| exit 1
cp ding.desktop $PKG/usr/share/applications || exit 1
cp ding.png $PKG/usr/share/pixmaps
-( cd $PKG
-find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
@@ -57,8 +55,9 @@ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs st
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -R CHANGES COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -R $CWD/{$PRGNAM.SlackBuild,slack-desc,doinst.sh} CHANGES COPYING README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc