Commits

Anonymous committed 6fa1810

goffice update to 0.10.2

  • Participants
  • Parent commits 8de7635

Comments (0)

Files changed (1)

File var/vabs/goffice/src/goffice.SlackBuild

 # AUTHORS = 
 
 NAME="goffice"            #Enter package Name!
-VERSION=${VERSION:-"0.8.17"}      #Enter package Version!
+VERSION=${VERSION:-"0.10.2"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
-LINK=${LINK:-"http://ftp.gnome.org/pub/GNOME/sources/$NAME/0.8/$NAME-$VERSION.tar.xz"}  #Enter URL for package here!
+LINK=${LINK:-"http://ftp.gnome.org/pub/GNOME/sources/$NAME/$(echo $VERSION | cut -f 1-2 -d.)/$NAME-$VERSION.tar.xz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 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=${MAKEDEPENDS:-"pcre librsvg libgsf"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"pcre librsvg libgsf gtk+3"} #Add deps needed TO BUILD this package here.
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
   --build=$CONFIGURE_TRIPLET \
   $CONFIG_OPTIONS || exit 1
 
-make || exit 1
+make $NUMJOBS || exit 1
 
 make install DESTDIR=$PKG || exit 1