summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Miller <slackbuilds@go4it2day.com>2010-10-10 18:51:53 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-10-10 18:51:53 -0500
commit7e4d30c2d5d9ffda2b18761caca0042ff28350c9 (patch)
tree0dea9bcf45d426668cfa2fb5a641b805745a9e7b
parent602d2eb9eed94819b5cf4480ef403639afe028f5 (diff)
downloadslackbuilds-7e4d30c2d5d9ffda2b18761caca0042ff28350c9.tar.gz
desktop/rootactions_servicemenu: Added (RunAsRoot KDE menu addons)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--desktop/rootactions_servicemenu/README8
-rw-r--r--desktop/rootactions_servicemenu/rootactions_servicemenu.SlackBuild67
-rw-r--r--desktop/rootactions_servicemenu/rootactions_servicemenu.info10
-rw-r--r--desktop/rootactions_servicemenu/slack-desc19
4 files changed, 104 insertions, 0 deletions
diff --git a/desktop/rootactions_servicemenu/README b/desktop/rootactions_servicemenu/README
new file mode 100644
index 0000000000..98691ee645
--- /dev/null
+++ b/desktop/rootactions_servicemenu/README
@@ -0,0 +1,8 @@
+Root Actions servicemenu provides a convenient way to perform several actions
+'as root', from the right-click context menu in KDE filemanagers.
+
+Included in the download are .desktop file versions for KDE3 konqueror,
+KDE3 dolphin, KDE4 (both konqueror and dolphin), and an importable user
+action xml file for krusader KDE4. See README in source files for details.
+
+This build script installs the KDE4/Dolphin version.
diff --git a/desktop/rootactions_servicemenu/rootactions_servicemenu.SlackBuild b/desktop/rootactions_servicemenu/rootactions_servicemenu.SlackBuild
new file mode 100644
index 0000000000..bfd1f3af7b
--- /dev/null
+++ b/desktop/rootactions_servicemenu/rootactions_servicemenu.SlackBuild
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+# Slackware build script for Root Actions Servicemenu
+
+# Written by Stu Miller <slackbuilds@go4it2day.com>
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=rootactions_servicemenu
+VERSION=${VERSION:-2.5.92}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+rm -rf $TMP/${PRGNAM}_${VERSION}
+cd $TMP
+tar xvf $CWD/48411-${PRGNAM}_${VERSION}.tar.gz
+cd ${PRGNAM}_${VERSION}
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+mkdir -p $PKG/usr/bin
+cp -a \
+ Root_Actions_$VERSION/rootactions-servicemenu.pl \
+ $PKG/usr/bin
+
+mkdir -p $PKG/usr/share/kde4/services/ServiceMenus
+cp -a \
+ Root_Actions_$VERSION/dolphin-KDE4/10-rootactionsfolders.desktop \
+ Root_Actions_$VERSION/dolphin-KDE4/11-rootactionsfiles.desktop \
+ $PKG/usr/share/kde4/services/ServiceMenus
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a changelog GPL-2 README $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $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/rootactions_servicemenu/rootactions_servicemenu.info b/desktop/rootactions_servicemenu/rootactions_servicemenu.info
new file mode 100644
index 0000000000..bf50f4290b
--- /dev/null
+++ b/desktop/rootactions_servicemenu/rootactions_servicemenu.info
@@ -0,0 +1,10 @@
+PRGNAM="rootactions_servicemenu"
+VERSION="2.5.92"
+HOMEPAGE="http://kde-look.org/content/show.php/Root+Actions+Servicemenu?content=48411"
+DOWNLOAD="http://kde-look.org/CONTENT/content-files/48411-rootactions_servicemenu_2.5.92.tar.gz"
+MD5SUM="c296a1ed03fdc2cfa8d6dbaee6a0706d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Stu Miller"
+EMAIL="slackbuilds@go4it2day.com"
+APPROVED="rworkman"
diff --git a/desktop/rootactions_servicemenu/slack-desc b/desktop/rootactions_servicemenu/slack-desc
new file mode 100644
index 0000000000..e4d0b75a9d
--- /dev/null
+++ b/desktop/rootactions_servicemenu/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------------------------------------------------------|
+rootactions_servicemenu: Root Actions Servicemenu
+rootactions_servicemenu:
+rootactions_servicemenu: Root Actions servicemenu provides a convenient way to perform
+rootactions_servicemenu: several actions 'as root', from the right-click context menu
+rootactions_servicemenu: in KDE filemanagers.
+rootactions_servicemenu:
+rootactions_servicemenu: ( http://kde-look.org/content/show.php/
+rootactions_servicemenu: Root+Actions+Servicemenu?content=48411 )
+rootactions_servicemenu:
+rootactions_servicemenu:
+rootactions_servicemenu: