diff options
Diffstat (limited to 'office/gnucash/gnucash.SlackBuild')
-rw-r--r-- | office/gnucash/gnucash.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild index 6b47c27cd7013..05e1dd5e52fa0 100644 --- a/office/gnucash/gnucash.SlackBuild +++ b/office/gnucash/gnucash.SlackBuild @@ -24,10 +24,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gnucash -VERSION=${VERSION:-3.6} +VERSION=${VERSION:-3.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVERSION="${VERSION}b" + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -70,7 +72,7 @@ fi if [ "$DBI" = "yes" ]; then DBIARGS="-DWITH_SQL=ON -DGNC_DBD_DIR=/usr/lib${LIBDIRSUFFIX}/dbd/ " - echo " building with dbi enabled" + echo " building with SQL integration enabled" sleep 1 else DBIARGS="-DWITH_SQL=OFF " @@ -102,12 +104,11 @@ fi set -e - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -124,11 +125,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIBDIR=/usr/lib${LIBDIRSUFFIX} \ -DSYSCONFDIR=/etc \ - -DLOCALSTATEDIR=/var \ - -DDOCDIR=/usr/doc/$PRGNAM-$VERSION \ - -DINFODIR=/usr/info \ -DCOMPILE_GSCHEMAS=OFF \ - -DMANDIR=/usr/man \ $DBIARGS \ $W_PYTHON \ $OFXBANKING \ @@ -148,10 +145,11 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r # Don't clobber these mv $PKG/etc/gnucash/environment $PKG/etc/gnucash/environment.new -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog DOCUMENTERS HACKING LICENSE NEWS README* TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION || true +mkdir -p $PKG/usr/doc +mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rmdir $PKG/usr/share/doc +ln -s $PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |