aboutsummaryrefslogtreecommitdiff
path: root/system/yakuake/yakuake.SlackBuild
diff options
context:
space:
mode:
authorSteffen Schwebel <steffen.schwebel@web.de>2010-05-11 19:46:48 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:48 +0200
commit4cb3e9a7426f744c49418547736303153963f6f5 (patch)
tree22688bc8941fad13d9590c56e82fb71a141354dd /system/yakuake/yakuake.SlackBuild
parent744bf9db9512698e1a274e2b5b3e5455b7503e2e (diff)
system/yakuake: Updated for version 2.8.1
Diffstat (limited to 'system/yakuake/yakuake.SlackBuild')
-rw-r--r--system/yakuake/yakuake.SlackBuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/system/yakuake/yakuake.SlackBuild b/system/yakuake/yakuake.SlackBuild
index 8d38b761d8c0b..194ec396ea3ba 100644
--- a/system/yakuake/yakuake.SlackBuild
+++ b/system/yakuake/yakuake.SlackBuild
@@ -3,14 +3,13 @@
# Slackware build script for yakuake
# Written by Steffen Schwebel (steffen.schwebel at web.de)
-# Modified by the SlackBuilds.org project
-
PRGNAM=yakuake
-VERSION=2.7.5
+VERSION=2.8.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -20,7 +19,7 @@ if [ $ARCH = "i486" ]; then
elif [ $ARCH = "s390" ]; then
SLKCFLAGS="-O2"
elif [ $ARCH = "x86_64" ]; then
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -fPIC"
elif [ $ARCH = "ipent4" ]; then
SLKCFLAGS="-O2 -march=pentium4 -mtune=i686 -msse -msse2"
elif [ $ARCH = "i686" ]; then
@@ -34,7 +33,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
@@ -42,7 +41,8 @@ chmod -R a-s,u+w,go+r-w .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/opt/kde \
+ --prefix=/usr \
+ --sysconfdir=/etc/kde \
--program-prefix="" \
--program-suffix="" \
|| exit 1
@@ -53,15 +53,14 @@ make install-strip DESTDIR=$PKG || exit 1
# No man pages with yakuake
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-for i in \
- AUTHORS COPYING ChangeLog INSTALL README TODO ;
- do cat $i > $PKG/usr/doc/$PRGNAM-$VERSION/$i ;
-done
-cat yakuake/NEWS > $PKG/usr/doc/$PRGNAM-$VERSION/NEWS
+cp -a AUTHORS COPYING* ChangeLog INSTALL README TODO VERSION yakuake/NEWS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc -type f -exec chmod 0644 {} \;
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.tgz