summaryrefslogtreecommitdiff
path: root/network/otter/otter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/otter/otter.SlackBuild')
-rw-r--r--network/otter/otter.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/network/otter/otter.SlackBuild b/network/otter/otter.SlackBuild
index 29db92b6eb..3ff0df1ed9 100644
--- a/network/otter/otter.SlackBuild
+++ b/network/otter/otter.SlackBuild
@@ -22,8 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=otter
-VERSION=${VERSION:-0.9.02}
+SRCNAM=otter-browser
+PRGNAM=$(echo $SRCNAM | cut -c1-5)
+VERSION=${VERSION:-0.9.04}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \