diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2010-05-13 00:57:39 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:57:39 +0200 |
commit | a6fe78118fd958bc649c71ece22fd86ca742789c (patch) | |
tree | 36c795260b4995c19d9fef9f29f9e3daf7343159 | |
parent | f85e96904fc355114a1c5d5f1f4dddcdbcdf4f9c (diff) |
desktop/quickaccess: Added to 13.0 repository
-rw-r--r-- | desktop/quickaccess/README | 12 | ||||
-rw-r--r-- | desktop/quickaccess/quickaccess.SlackBuild | 71 | ||||
-rw-r--r-- | desktop/quickaccess/quickaccess.info | 10 | ||||
-rw-r--r-- | desktop/quickaccess/slack-desc | 19 |
4 files changed, 112 insertions, 0 deletions
diff --git a/desktop/quickaccess/README b/desktop/quickaccess/README new file mode 100644 index 0000000000000..a7442c98b87fe --- /dev/null +++ b/desktop/quickaccess/README @@ -0,0 +1,12 @@ +quickaccess (KDE plasmoid) + +This is a small applet designed for the panel to have quick access to the most +used folders. + +This is a maintenance fork for the QuickAccess plasmoid. + +After installing, if you are currently running KDE, you need to run +"kbuildsycoca4" as your normal user account. + +If the plasmoid does not show up in the "Add Applets" dialog, then try restarting +plasma (again as the KDE user): "kquitapp plasma && plasma" diff --git a/desktop/quickaccess/quickaccess.SlackBuild b/desktop/quickaccess/quickaccess.SlackBuild new file mode 100644 index 0000000000000..efeaf52d02e5f --- /dev/null +++ b/desktop/quickaccess/quickaccess.SlackBuild @@ -0,0 +1,71 @@ +#!/bin/sh + +# Slackware build script for QuickAccess (KDE4 plasmoid) +# Written by Phillip Warner <pc_warner@yahoo.com> + +PRGNAM=quickaccess +VERSION=${VERSION:-0.8.1} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +rm -rf $TMP/plasma-widget-$PRGNAM-$VERSION +cd $TMP +tar xvf $CWD/101968-plasma-widget-${PRGNAM}_${VERSION}.orig.tar.gz +cd plasma-widget-$PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +mkdir build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_BUILD_TYPE=Release .. + + make + make install DESTDIR=$PKG +cd - + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING Change[Ll]og README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/quickaccess/quickaccess.info b/desktop/quickaccess/quickaccess.info new file mode 100644 index 0000000000000..3415137c1ed25 --- /dev/null +++ b/desktop/quickaccess/quickaccess.info @@ -0,0 +1,10 @@ +PRGNAM="quickaccess" +VERSION="0.8.1" +HOMEPAGE="http://www.kde-look.org/content/show.php/QuickAccess+%28maintenance+fork%29?content=101968" +DOWNLOAD="http://www.kde-look.org/CONTENT/content-files/101968-plasma-widget-quickaccess_0.8.1.orig.tar.gz" +MD5SUM="744f7d85662808869bf22eae53ca4660" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Phillip Warner" +EMAIL="pc_warner@yahoo.com" +APPROVED="rworkman" diff --git a/desktop/quickaccess/slack-desc b/desktop/quickaccess/slack-desc new file mode 100644 index 0000000000000..2238e3d148798 --- /dev/null +++ b/desktop/quickaccess/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +quickaccess: quickaccess (KDE plasmoid for quick folder access) +quickaccess: +quickaccess: This is a small applet designed for the panel to have quick access +quickaccess: to the most used folders. +quickaccess: +quickaccess: This is a maintenance fork for the QuickAccess plasmoid. +quickaccess: +quickaccess: http://www.kde-look.org/content/show.php/QuickAccess?content=84128 +quickaccess: +quickaccess: +quickaccess: |