summaryrefslogtreecommitdiffstats
path: root/source/ap/most/most.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/most/most.SlackBuild')
-rwxr-xr-xsource/ap/most/most.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/ap/most/most.SlackBuild b/source/ap/most/most.SlackBuild
index 5a9614b37..f9c1857f6 100755
--- a/source/ap/most/most.SlackBuild
+++ b/source/ap/most/most.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=most
-VERSION=5.0.0a
-BUILD=${BUILD:-3}
+VERSION=5.1.0
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -64,9 +64,10 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf most-$VERSION
-tar xvf $CWD/most-$VERSION.tar.bz2 || exit 1
+tar xvf $CWD/most-$VERSION.tar.?z || exit 1
cd most-$VERSION || exit 1
chown -R root:root .
+
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
@@ -79,7 +80,7 @@ CFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc \
--with-slang=/usr \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
@@ -108,4 +109,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/most-$VERSION-$ARCH-$BUILD.txz
-