summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/psi/psi.SlackBuild41
-rw-r--r--network/psi/psi.info8
2 files changed, 38 insertions, 11 deletions
diff --git a/network/psi/psi.SlackBuild b/network/psi/psi.SlackBuild
index 3a91dfe892..2043ea4c63 100644
--- a/network/psi/psi.SlackBuild
+++ b/network/psi/psi.SlackBuild
@@ -2,12 +2,31 @@
# Slackware build script for psi
-# Written by Eugene Wissner <eugen@flevum.de>
+# Written by Eugene Wissner <belka.ew@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS 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 AUTHOR 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.
PRGNAM=psi
-VERSION=${VERSION:-0.14}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.15}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+RC=${RC:-rc2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -39,9 +58,17 @@ 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
+
+if [ -n "$RC" ]; then
+ rm -rf $PRGNAM-$VERSION-$RC
+ tar xvf $CWD/$PRGNAM-$VERSION-$RC.tar.bz2
+ cd $PRGNAM-$VERSION-$RC
+else
+ rm -rf $PRGNAM-$VERSION
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+ cd $PRGNAM-$VERSION
+fi
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -75,4 +102,4 @@ 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.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION$RC-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/psi/psi.info b/network/psi/psi.info
index d4b1f1c080..8a9177bd22 100644
--- a/network/psi/psi.info
+++ b/network/psi/psi.info
@@ -1,10 +1,10 @@
PRGNAM="psi"
-VERSION="0.14"
+VERSION="0.15rc2"
HOMEPAGE="http://psi-im.org/"
-DOWNLOAD="http://downloads.sourceforge.net/psi/psi-0.14.tar.bz2"
-MD5SUM="9d7dcce3bcab53b741a712199bd986be"
+DOWNLOAD="http://downloads.sourceforge.net/psi/psi-0.15-rc2.tar.bz2"
+MD5SUM="610101ee91698eaef7bfe795a2b3e84e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Eugene Wissner"
-EMAIL="eugen@flevum.de"
+EMAIL="belka.ew@gmail.com"