diff options
-rw-r--r-- | office/gnucash/gnucash.SlackBuild | 20 | ||||
-rw-r--r-- | office/gnucash/gnucash.info | 6 |
2 files changed, 12 insertions, 14 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 diff --git a/office/gnucash/gnucash.info b/office/gnucash/gnucash.info index 3b42203d67885..964e8b4caa579 100644 --- a/office/gnucash/gnucash.info +++ b/office/gnucash/gnucash.info @@ -1,8 +1,8 @@ PRGNAM="gnucash" -VERSION="3.6" +VERSION="3.8" HOMEPAGE="http://www.gnucash.org/" -DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-3.6.tar.bz2" -MD5SUM="c8a87ec9bd77bad0e2abaecda149fad9" +DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-3.8b.tar.bz2" +MD5SUM="32f853781ad7aa2a032a482df102a77f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="webkit2gtk pygobject3-python3 gtest" |