summaryrefslogtreecommitdiffstats
path: root/network/purple-plugin-pack
diff options
context:
space:
mode:
Diffstat (limited to 'network/purple-plugin-pack')
-rw-r--r--network/purple-plugin-pack/README9
-rw-r--r--network/purple-plugin-pack/purple-plugin-pack.SlackBuild16
-rw-r--r--network/purple-plugin-pack/purple-plugin-pack.info6
3 files changed, 21 insertions, 10 deletions
diff --git a/network/purple-plugin-pack/README b/network/purple-plugin-pack/README
index 5f7d4824f9..fc2ba1b5c7 100644
--- a/network/purple-plugin-pack/README
+++ b/network/purple-plugin-pack/README
@@ -5,13 +5,14 @@ The Purple Plugin Pack was originally created by
Gary Kramelich and Stu Tomlinson as a way to distribute
their ever growing lists of simple Pidgin plugins.
-This includes an optional patch to change the default nickserv identify command
-in the irchelp plugin to:
+This includes an optional patch to change the default nickserv identify
+command in the irchelp plugin to:
/msg nickserv identify <password>
-rather than the '/identify <password>' command that it defaults to, which fails
-on some IRCd's such as e.g. ngircd (also available on slackbuilds.org).
+rather than the '/identify <password>' command that it defaults to,
+which fails on some IRCd's such as e.g. ngircd (also available on
+slackbuilds.org).
To use the patch do:
diff --git a/network/purple-plugin-pack/purple-plugin-pack.SlackBuild b/network/purple-plugin-pack/purple-plugin-pack.SlackBuild
index 00b4eec7ca..0e3167fd5d 100644
--- a/network/purple-plugin-pack/purple-plugin-pack.SlackBuild
+++ b/network/purple-plugin-pack/purple-plugin-pack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for purple-plugin-pack
# Copyright 2018 Dave Woodfall <dave@slackbuilds.org>
@@ -23,10 +23,13 @@
# Heavily modified by Robby Workman of the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=purple-plugin-pack
VERSION=${VERSION:-2.7.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/purple-plugin-pack/purple-plugin-pack.info b/network/purple-plugin-pack/purple-plugin-pack.info
index 24e796a500..3679ac7953 100644
--- a/network/purple-plugin-pack/purple-plugin-pack.info
+++ b/network/purple-plugin-pack/purple-plugin-pack.info
@@ -1,10 +1,10 @@
PRGNAM="purple-plugin-pack"
VERSION="2.7.0"
-HOMEPAGE="https://bitbucket.org/rekkanoryo/purple-plugin-pack"
-DOWNLOAD="https://bitbucket.org/rekkanoryo/purple-plugin-pack/downloads/purple-plugin-pack-2.7.0.tar.bz2"
+HOMEPAGE="https://sourceforge.net/projects/pidgin/files/purple%20plugin%20pack/"
+DOWNLOAD="https://downloads.sourceforge.net/project/pidgin/purple%20plugin%20pack/2.7.0/purple-plugin-pack-2.7.0.tar.bz2"
MD5SUM="a1ee405e81ad955798af7b2a6a8564fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"