Browse Source

xap/grisbi: Upgraded to grisbi-1.2.2.

current-20191101
parent
commit
7985b2bc88
4 changed files with 18 additions and 7 deletions
  1. +4
    -0
      xap/grisbi/doinst.sh
  2. +0
    -1
      xap/grisbi/grisbi-1.0.0.tar.bz2.sha1
  3. +1
    -0
      xap/grisbi/grisbi-1.2.2.tar.bz2.sha256
  4. +13
    -6
      xap/grisbi/grisbi.SlackBuild

+ 4
- 0
xap/grisbi/doinst.sh View File

@ -0,0 +1,4 @@
#!/bin/sh
if [ -x /usr/bin/glib-compile-schemas ]; then
/usr/bin/glib-compile-schemas ./usr/share/glib-2.0/schemas >/dev/null 2>&1
fi

+ 0
- 1
xap/grisbi/grisbi-1.0.0.tar.bz2.sha1 View File

@ -1 +0,0 @@
d181a6b7ef9637992673f02ec8d1294b92872ae0 grisbi-1.0.0.tar.bz2

+ 1
- 0
xap/grisbi/grisbi-1.2.2.tar.bz2.sha256 View File

@ -0,0 +1 @@
7c6dcb9d123076df33f7225085db44f0b95afbb773378fd94b7c492dbbf731de grisbi-1.2.2.tar.bz2

+ 13
- 6
xap/grisbi/grisbi.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011,2012,2013,2014 Damien Goutte-Gattat
# Copyright (C) 2009-2014,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,13 +28,13 @@
# Source package infos
NAMESRC=${NAMESRC:-grisbi}
VERSION=${VERSION:-1.0.0}
VERSION=${VERSION:-1.2.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://downloads.sourceforge.net/grisbi/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-grisbi}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -77,7 +77,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -99,10 +99,17 @@ make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
install -m 644 AUTHORS COPYING NEWS README TODO $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING NEWS README $PKG/usr/doc/$NAME
# Copy slack-desc file
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
goffice
libofx
EOF
# Package the tree
cd $PKG


Loading…
Cancel
Save