1. VectorLinux Core
  2. vabs


M0E-lnx  committed 71e8d49

wesnoth update to 1.10.5

  • Participants
  • Parent commits 48aa50c
  • Branches veclinux-7.1

Comments (0)

Files changed (1)

File var/vabs/wesnoth/src/wesnoth.SlackBuild

View file
 VERSION=${VERSION:-"1.10.5"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"budulay"}   #Enter your Name!
-LINK=${LINK:-"http://sourceforge.net/projects/$NAME/files/$NAME-1.10/$NAME-$VERSION/$NAME-$VERSION.tar.bz2"}  #Enter URL for package here!
+LINK=${LINK:-"http://sourceforge.net/projects/$NAME/files/$NAME-${VERSION%.*}/$NAME-$VERSION/$NAME-$VERSION.tar.bz2"}  #Enter URL for package here!
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
 MAKEDEPENDS=${EXRB:-"lua SDL boost"}
 if [ "$NORUN" != 1 ]; then
-make || exit 1
+make $NUMJOBS || exit 1
 make install DESTDIR=$PKG || exit 1