aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2024-02-23 16:42:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-23 23:05:26 +0700
commit4df3a375ebe333c57a20f380d921d28b44841b05 (patch)
tree591fa340157f98744ab06d1a8b0516b8b4fcb980 /office
parent7ceb5d660ad6c8139544789e67b06031afb65378 (diff)
office/grisbi: updated for version 3.0.3. New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/grisbi/grisbi.SlackBuild17
-rw-r--r--office/grisbi/grisbi.info10
2 files changed, 15 insertions, 12 deletions
diff --git a/office/grisbi/grisbi.SlackBuild b/office/grisbi/grisbi.SlackBuild
index b53fa26f2cd1..c7befa80c1f2 100644
--- a/office/grisbi/grisbi.SlackBuild
+++ b/office/grisbi/grisbi.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for grisbi
# Copyright 2010-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2024 Yth | Pont-en-Royans, France | yth@ythogtha.org
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=grisbi
-VERSION=${VERSION:-1.2.2}
+VERSION=${VERSION:-3.0.3}
+SRCVER=${VERSION//./_}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,14 +69,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-upstream_version_$SRCVER.tar.gz
+cd $PRGNAM-upstream_version_$SRCVER
chown -R root:root .
-find -L . \
+find . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Test for cunit
if pkg-config --exists cunit; then
@@ -83,6 +85,7 @@ else
CUNIT_ENABLED="no"
fi
+sh ./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -105,7 +108,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
cp -a \
- AUTHORS COPYING INSTALL NEWS README \
+ AUTHORS COPYING NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/grisbi/grisbi.info b/office/grisbi/grisbi.info
index 556dfa8a2f6c..5faa3978df8a 100644
--- a/office/grisbi/grisbi.info
+++ b/office/grisbi/grisbi.info
@@ -1,10 +1,10 @@
PRGNAM="grisbi"
-VERSION="1.2.2"
+VERSION="3.0.3"
HOMEPAGE="http://www.grisbi.org/"
-DOWNLOAD="https://downloads.sourceforge.net/grisbi/grisbi-1.2.2.tar.bz2"
-MD5SUM="4397b442cd893e07da11fef9bfd8fa49"
+DOWNLOAD="https://github.com/grisbi/grisbi/archive/upstream_version_3_0_3/upstream_version_3_0_3.tar.gz"
+MD5SUM="bc15c45634f720801cecd58882435380"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"