summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-04-27 13:01:09 +0000
committer Eric Hameleers <alien@slackware.com>2007-04-27 13:01:09 +0000
commit72baa692c13127a8f3863a724d64314f3610b07f (patch)
treea2d1cc7e55c8b73c0db840faeb9c4442211a9526
parent69d389a95ba47781042488532617de60a2f7eb97 (diff)
downloadasb-72baa692c13127a8f3863a724d64314f3610b07f.tar.gz
asb-72baa692c13127a8f3863a724d64314f3610b07f.tar.xz
Updated for the upcoming 0.9.2 already
-rwxr-xr-xmcabber/build/mcabber.SlackBuild36
1 files changed, 30 insertions, 6 deletions
diff --git a/mcabber/build/mcabber.SlackBuild b/mcabber/build/mcabber.SlackBuild
index 0498cd5f..309dbe57 100755
--- a/mcabber/build/mcabber.SlackBuild
+++ b/mcabber/build/mcabber.SlackBuild
@@ -1,6 +1,24 @@
#!/bin/sh
-# Copyright (c) 2005,2006,2007 Eric Hameleers <alien@slackware.com>
# $Id$
+# Copyright (c) 2005,2006,2007 Eric Hameleers <alien@slackware.com>
+#
+# Permission to use, copy, modify, and distribute this software for
+# any purpose with or without fee is hereby granted, provided that
+# the above copyright notice and this permission notice appear in all
+# copies.
+#
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+# CONTRIBUTORS 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.
# -----------------------------------------------------------------------------
#
# Slackware SlackBuild script
@@ -40,6 +58,8 @@
# automatically build without PGP support.
# 0.9.1-1: 10/feb/2007 by Eric Hameleers <alien@slackware.com>
# * New release. Removed that GPL clause in this script's header.
+# 0.9.2-1: 26/apr/2007 by Eric Hameleers <alien@slackware.com>
+# * New release.
#
# Run 'sh mcabber.SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -51,7 +71,7 @@
# Set initial variables:
PRGNAM=mcabber
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-0.9.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
@@ -164,14 +184,10 @@ if `file ${SOURCE} | grep -q ": bzip2"`; then
else
tar -xzvf ${SOURCE}
fi
-
chown -R root:root *
chmod -R u+w,go+r-w,a-s *
cd ${PRGNAM}-${VERSION}
-
-# --- BUILDING ---
-
echo Building ...
LDFLAGS="$SLKLDFLAGS" \
@@ -281,6 +297,14 @@ EEOOTT
chmod 755 $PKG/usr/bin/mcabber
+# Can we install a .desktop file?
+if [ -f ${PRGNAM}.desktop ]; then
+ mkdir -p $PKG/usr/share/{applications,pixmaps}
+ cat ${PRGNAM}.desktop \
+ | sed -e "s#^Icon=.*#Icon=/usr/share/pixmaps/${PRGNAM}.png#" \
+ > $PKG/usr/share/applications/${PRGNAM}.desktop
+ cat $SRCDIR/jabber.png $PKG/usr/share/pixmaps/$PRGNAM.png
+fi
# --- DOCUMENTATION ---