aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRodney Cobb <rdc@ktabic.co.uk>2010-05-11 20:00:10 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 20:00:10 +0200
commita715c0ae8a3db7bf352c09d8e0dd5802bd927839 (patch)
treecc5c2d002657c92eae2fb3ce3bc92164ea924e81 /desktop
parent2b106d5264449b2720019c018a965a2649b28dfe (diff)
desktop/stalonetray: Added to 12.0 repository
Diffstat (limited to 'desktop')
-rw-r--r--desktop/stalonetray/README7
-rw-r--r--desktop/stalonetray/slack-desc19
-rw-r--r--desktop/stalonetray/stalonetray.SlackBuild67
-rw-r--r--desktop/stalonetray/stalonetray.info8
4 files changed, 101 insertions, 0 deletions
diff --git a/desktop/stalonetray/README b/desktop/stalonetray/README
new file mode 100644
index 000000000000..138335cb3908
--- /dev/null
+++ b/desktop/stalonetray/README
@@ -0,0 +1,7 @@
+The stalonetray is a STAnd-aLONE systerm TRAY (notification area).
+It has minimal build and run-time dependencies: the Xlib only.
+Stalonetray runs under virtually any window manager.
+
+To start using stalonetray, you can copy the sample config located in
+/usr/doc/stalonetrayrc-0.7.6/ to ~/.stalonetrayrc - it is well-commented
+and should suffice for a quick start.
diff --git a/desktop/stalonetray/slack-desc b/desktop/stalonetray/slack-desc
new file mode 100644
index 000000000000..31b650c78d87
--- /dev/null
+++ b/desktop/stalonetray/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--------------------------------------------------|
+stalonetray: STAnd aLONE TRAY (a STAnd-aLONE system TRAY)
+stalonetray:
+stalonetray: stalonetray is a STAnd-aLONE system TRAY (notification area).
+stalonetray: It has minimal build and run-time dependencies: the Xlib only.
+stalonetray: Stalonetray runs under virtually any window manager.
+stalonetray:
+stalonetray:
+stalonetray:
+stalonetray:
+stalonetray:
+stalonetray:
diff --git a/desktop/stalonetray/stalonetray.SlackBuild b/desktop/stalonetray/stalonetray.SlackBuild
new file mode 100644
index 000000000000..8f33f9bfda72
--- /dev/null
+++ b/desktop/stalonetray/stalonetray.SlackBuild
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+# Slackware build script for stalonetray
+
+# Written by ktabic rdc@ktabic.co.uk
+# Modified by Slackbuilds.org
+
+PRGNAM=stalonetray
+VERSION=0.7.6
+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"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-debug \
+ --mandir=/usr/man \
+ --localstatedir=/var
+
+make
+make install DESTDIR=$PKG
+
+( 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
+)
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING NEWS README TODO stalonetrayrc.sample \
+ $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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/desktop/stalonetray/stalonetray.info b/desktop/stalonetray/stalonetray.info
new file mode 100644
index 000000000000..7b7fb0aa77c0
--- /dev/null
+++ b/desktop/stalonetray/stalonetray.info
@@ -0,0 +1,8 @@
+PRGNAM="stalonetray"
+VERSION="0.7.6"
+HOMEPAGE="http://stalonetray.sourceforge.net"
+DOWNLOAD="http://downloads.sourceforge.net/stalonetray/stalonetray-0.7.6.tar.bz2"
+MD5SUM="eebb46182b64d75b89776bbfc867f470"
+MAINTAINER="Rodney Cobb"
+EMAIL="rdc@ktabic.co.uk"
+APPROVED="David Somero"