Anonymous avatar Anonymous committed 71e8d49

wesnoth update to 1.10.5

Comments (0)

Files changed (1)

var/vabs/wesnoth/src/wesnoth.SlackBuild

 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!
 
 
 #SYSTEM VARIABLES
 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"}
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
 if [ "$NORUN" != 1 ]; then
   -DENABLE_CAMPAIGN_SERVER="ON" \
   -DICONDIR="/usr/share/pixmaps"
 
-make || exit 1
+make $NUMJOBS || exit 1
 
 make install DESTDIR=$PKG || exit 1
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.