summaryrefslogtreecommitdiffstats
path: root/office/gnucash/gnucash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/gnucash/gnucash.SlackBuild')
-rw-r--r--office/gnucash/gnucash.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index 05e1dd5e52..973c487721 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.SlackBuild
@@ -24,12 +24,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnucash
-VERSION=${VERSION:-3.8}
+VERSION=${VERSION:-3.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION="${VERSION}b"
-
+PACKAGER=${PACKAGER:-"Just Another Slacker"}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -79,7 +78,7 @@ else
fi
if [ "$OFX" = "yes" ]; then
- OFXBANKING="DWITH_OFX=ON"
+ OFXBANKING="-DWITH_OFX=ON"
echo " building with OFX enabled"
sleep 1
else
@@ -108,7 +107,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-${VERSION}.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -126,10 +125,12 @@ cd build
-DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DSYSCONFDIR=/etc \
-DCOMPILE_GSCHEMAS=OFF \
+ -DCMAKE_HAVE_LIBC_PTHREAD=OFF \
$DBIARGS \
$W_PYTHON \
$OFXBANKING \
$AQBANKING \
+ -DGNUCASH_BUILD_ID="$VERSION by $PACKAGER" \
-DCMAKE_BUILD_TYPE=release ..
make