aboutsummaryrefslogtreecommitdiff
path: root/misc/kasumi/kasumi.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 21:09:49 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:03 -0500
commitc6fd8a5b24bf9f4e4391f0a6a4d1db0886afb036 (patch)
tree71b4ba19ab45089429b23975259ee2345d1851d2 /misc/kasumi/kasumi.SlackBuild
parenta1437bd04fa9feaca44abd7cc14da607d917f804 (diff)
misc/kasumi: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc/kasumi/kasumi.SlackBuild')
-rw-r--r--misc/kasumi/kasumi.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/misc/kasumi/kasumi.SlackBuild b/misc/kasumi/kasumi.SlackBuild
index a8af8050e7607..76466bebe6f2f 100644
--- a/misc/kasumi/kasumi.SlackBuild
+++ b/misc/kasumi/kasumi.SlackBuild
@@ -5,15 +5,13 @@
PRGNAM=kasumi
VERSION=2.4
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -60,10 +58,8 @@ CFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-( 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 \
@@ -74,6 +70,7 @@ find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}