diff options
author | Eugene Wissner <belka.ew@gmail.com> | 2012-12-16 17:43:26 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-23 09:16:28 -0500 |
commit | 1a80e2fa290a8d3f48679f1f4bf0218d9d6b0b8b (patch) | |
tree | ac351646eb0ac2ef495038b95503ab2b4622418c /network/psi/psi.SlackBuild | |
parent | 2f262f5d7d3d7849fb2670e39fd2814a38157b78 (diff) | |
download | slackbuilds-1a80e2fa290a8d3f48679f1f4bf0218d9d6b0b8b.tar.gz |
network/psi: Updated for version 0.15.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/psi/psi.SlackBuild')
-rw-r--r-- | network/psi/psi.SlackBuild | 19 |
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} |