Commits

Anonymous committed 1c28701

alpine fix NORUN value

  • Participants
  • Parent commits 25bae1b

Comments (0)

Files changed (1)

File var/vabs/alpine/src/alpine.SlackBuild

 IMAPDBUILD=${BUILD:-1}
 PINEPGP=${PINEPGP:-0.18.0}
 NAME=${PKGNAM} # Leave this here for compatibility with the bot
-LINK=${LINK:-"http://downloads.sourceforge.net/project/re-${NAME}/re-${NAME}-${VERSION}.tar.bz2 \
+LINK=${LINK:-"http://downloads.sourceforge.net/project/re-${NAME}/re-${NAME}-${VERSION}.tar.bz2 
 http://hany.sk/~hany/_data/pinepgp/pinepgp-${PINEPGP}.tar.gz"}
 # Automatically determine the architecture we're building on:
 if [ -z "$ARCH" ]; then
        *) export ARCH=$( uname -m ) ;;
   esac
 fi
+MAKEDEPENDS=" "
 
-if [ "$NORUN" != 0 ]; then
+if [ "$NORUN" != 1 ]; then
 
 # We don't use this below as it breaks the build.
 NUMJOBS=${NUMJOBS:-" -j6 "}
 
 cd $TMP
 rm -rf re-alpine-${VERSION}
-tar xvf $CWD/re-alpine-$VERSION.tar.?z* || exit 1
-cd re-alpine-$VERSION
+tar xvf $CWD/re-alpine-${VERSION}.tar.?z* || exit 1
+cd re-alpine-${VERSION}
 
 # Make sure ownerships and permissions are sane:
 chown -R root:root .
 
 # As is customary, now build a package for the included IMAP and
 # POP3 daemons:
-PKG2=/tmp/package-imapd
+PKG2=$TMP/package-imapd
 cd $TMP
 rm -rf $PKG2
 mkdir -p $PKG2