aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:23:37 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:23:37 +0200
commita620d61aacd4707e03829726dd5caa2c225e1a24 (patch)
tree12bd5703d94321a34df5a06360f7d1e06f8ad04f
parent0b9deaceefe5fc6c380ce83c62ed07ced82e8530 (diff)
desktop/xfce4-clipman-plugin: Updated for version 1.1.3
-rw-r--r--desktop/xfce4-clipman-plugin/README2
-rw-r--r--desktop/xfce4-clipman-plugin/doinst.sh10
-rw-r--r--desktop/xfce4-clipman-plugin/slack-desc10
-rw-r--r--desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.SlackBuild12
-rw-r--r--desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.info8
5 files changed, 29 insertions, 13 deletions
diff --git a/desktop/xfce4-clipman-plugin/README b/desktop/xfce4-clipman-plugin/README
index 6e71dc0f9864c..e6ed2d1e7c06e 100644
--- a/desktop/xfce4-clipman-plugin/README
+++ b/desktop/xfce4-clipman-plugin/README
@@ -1,5 +1,3 @@
-clipman plugin for the Xfce panel
-
Clipman allows you to keep several clipboard selections in memory which
you can then use to toggle. It can pull the clips from both the selection
and the copy buffer, restore your clipboard on login, and prevent an empty
diff --git a/desktop/xfce4-clipman-plugin/doinst.sh b/desktop/xfce4-clipman-plugin/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/desktop/xfce4-clipman-plugin/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/desktop/xfce4-clipman-plugin/slack-desc b/desktop/xfce4-clipman-plugin/slack-desc
index 371346215dd30..159e560291078 100644
--- a/desktop/xfce4-clipman-plugin/slack-desc
+++ b/desktop/xfce4-clipman-plugin/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
xfce4-clipman-plugin: xfce4-clipman-plugin (clipman plugin for the Xfce panel)
-xfce4-clipman-plugin:
+xfce4-clipman-plugin:
xfce4-clipman-plugin: Clipman allows you to keep several clipboard selections
xfce4-clipman-plugin: in memory which you can then use to toggle. It can pull
xfce4-clipman-plugin: the clips from both the selection and the copy buffer,
xfce4-clipman-plugin: restore your clipboard on login, and prevent an empty
xfce4-clipman-plugin: clipboard.
-xfce4-clipman-plugin:
-xfce4-clipman-plugin:
-xfce4-clipman-plugin:
-xfce4-clipman-plugin:
+xfce4-clipman-plugin:
+xfce4-clipman-plugin:
+xfce4-clipman-plugin:
+xfce4-clipman-plugin:
diff --git a/desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.SlackBuild b/desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.SlackBuild
index b5a093e97e823..6530108fd0b74 100644
--- a/desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.SlackBuild
+++ b/desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfce4-clipman-plugin
-VERSION=0.9.0
+VERSION=1.1.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ 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
@@ -60,6 +63,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc/xfce \
--enable-shared=yes \
--enable-static=no \
--enable-debug=no \
@@ -77,12 +82,13 @@ make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
+ AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.info b/desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.info
index 8f18e82ae58fd..2c46ad56b35d9 100644
--- a/desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.info
+++ b/desktop/xfce4-clipman-plugin/xfce4-clipman-plugin.info
@@ -1,8 +1,10 @@
PRGNAM="xfce4-clipman-plugin"
-VERSION="0.9.0"
+VERSION="1.1.3"
HOMEPAGE="http://goodies.xfce.org/"
-DOWNLOAD="http://goodies.xfce.org/releases/xfce4-clipman-plugin/xfce4-clipman-plugin-0.9.0.tar.bz2"
-MD5SUM="f41ab83ed53d92d109e45fcf0477ff2c"
+DOWNLOAD="http://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/1.1/xfce4-clipman-plugin-1.1.3.tar.bz2"
+MD5SUM="2ba70c6bd710e2a18cba5add66d297dc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="michiel"