mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
desktop/quickaccess: Added to 13.0 repository
This commit is contained in:
parent
f85e96904f
commit
a6fe78118f
4 changed files with 112 additions and 0 deletions
12
desktop/quickaccess/README
Normal file
12
desktop/quickaccess/README
Normal file
|
@ -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"
|
71
desktop/quickaccess/quickaccess.SlackBuild
Normal file
71
desktop/quickaccess/quickaccess.SlackBuild
Normal file
|
@ -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}
|
10
desktop/quickaccess/quickaccess.info
Normal file
10
desktop/quickaccess/quickaccess.info
Normal file
|
@ -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"
|
19
desktop/quickaccess/slack-desc
Normal file
19
desktop/quickaccess/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue