summaryrefslogtreecommitdiffstats
path: root/network/psi/psi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/psi/psi.SlackBuild')
-rw-r--r--network/psi/psi.SlackBuild19
1 files changed, 4 insertions, 15 deletions
diff --git a/network/psi/psi.SlackBuild b/network/psi/psi.SlackBuild
index 2043ea4c63..957ed7402c 100644
--- a/network/psi/psi.SlackBuild
+++ b/network/psi/psi.SlackBuild
@@ -26,14 +26,11 @@ PRGNAM=psi
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
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -58,17 +55,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-
-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
-
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -102,4 +91,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$RC-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}