summaryrefslogtreecommitdiff
path: root/desktop/pidgin-guifications
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/pidgin-guifications')
-rw-r--r--desktop/pidgin-guifications/README2
-rw-r--r--desktop/pidgin-guifications/pidgin-guifications.SlackBuild58
-rw-r--r--desktop/pidgin-guifications/pidgin-guifications.info8
-rw-r--r--desktop/pidgin-guifications/slack-desc19
4 files changed, 87 insertions, 0 deletions
diff --git a/desktop/pidgin-guifications/README b/desktop/pidgin-guifications/README
new file mode 100644
index 0000000000..55606b5941
--- /dev/null
+++ b/desktop/pidgin-guifications/README
@@ -0,0 +1,2 @@
+Guifications provides pop-up notifications for different buddy
+events in pidgin.
diff --git a/desktop/pidgin-guifications/pidgin-guifications.SlackBuild b/desktop/pidgin-guifications/pidgin-guifications.SlackBuild
new file mode 100644
index 0000000000..8feff13512
--- /dev/null
+++ b/desktop/pidgin-guifications/pidgin-guifications.SlackBuild
@@ -0,0 +1,58 @@
+#!/bin/sh
+
+# Slackware build script for pidgin-guifications
+# Written by Andrew Brouwers
+
+PRGNAM=pidgin-guifications
+VERSION=2.16
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+DOCS="AUTHORS COPYING INSTALL NEWS TODO doc/QUOTES"
+
+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 xjf $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 \
+ --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
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+
+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/pidgin-guifications/pidgin-guifications.info b/desktop/pidgin-guifications/pidgin-guifications.info
new file mode 100644
index 0000000000..8825c22681
--- /dev/null
+++ b/desktop/pidgin-guifications/pidgin-guifications.info
@@ -0,0 +1,8 @@
+PRGNAM="pidgin-guifications"
+VERSION="2.16"
+HOMEPAGE="http://plugins.guifications.org/trac"
+DOWNLOAD="http://downloads.guifications.org/plugins/Guifications2/pidgin-guifications-2.16.tar.bz2"
+MD5SUM="cd1f803231093cde01514feca59f643f"
+MAINTAINER="Andrew Brouwers"
+EMAIL="abrouwers@gmail.com"
+APPROVED="rworkman"
diff --git a/desktop/pidgin-guifications/slack-desc b/desktop/pidgin-guifications/slack-desc
new file mode 100644
index 0000000000..0265962b5e
--- /dev/null
+++ b/desktop/pidgin-guifications/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------------------------------------------------------|
+pidgin-guifications: pidgin-guifications (Pidgin Guifications)
+pidgin-guifications:
+pidgin-guifications: The guifications plugin provides pop-up
+pidgin-guifications: notifications for Pidgin.
+pidgin-guifications:
+pidgin-guifications:
+pidgin-guifications:
+pidgin-guifications:
+pidgin-guifications:
+pidgin-guifications:
+pidgin-guifications: