summaryrefslogtreecommitdiffstats
path: root/misc/gramps
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gramps')
-rw-r--r--misc/gramps/README25
-rw-r--r--misc/gramps/doinst.sh2
-rw-r--r--misc/gramps/gramps.SlackBuild18
-rw-r--r--misc/gramps/gramps.info8
-rw-r--r--misc/gramps/slack-desc8
5 files changed, 30 insertions, 31 deletions
diff --git a/misc/gramps/README b/misc/gramps/README
index 07fb13608a..72ba581df4 100644
--- a/misc/gramps/README
+++ b/misc/gramps/README
@@ -1,20 +1,9 @@
-GRAMPS is a genealogy program for Linux and other UNIX-like systems. GRAMPS
-stands for Genealogical Research and Analysis Management Programming System.
-GRAMPS helps you track your family tree. It allows you to store, edit, and
-research genealogical data.
+Gramps is a genealogy program for Linux and other UNIX-like
+systems. Gramps stands for Genealogical Research and Analysis
+Management Programming System. Gramps helps you track your family
+tree. It allows you to store, edit, and research genealogical data.
+Optional Dependency: osm-gps-map
-Required Dependencies
-
-Both bsddb3 and pyicu must be built with python3 support,
-for example
-
- PYTHON3=yes ./bsddb3.SlackBuild
- PYTHON3=yes ./pyicu.SlackBuild
-
-
-Optional Dependencies: osm-gps-map and libgexiv2
-
-For a list of programs GRAMPS can use if they are installed, see
-
- https://www.gramps-project.org/wiki/index.php?title=Installation
+For a list of programs Gramps can use if they are installed, see
+ https://github.com/gramps-project/gramps#requirements
diff --git a/misc/gramps/doinst.sh b/misc/gramps/doinst.sh
index aea0f894eb..f55e090a55 100644
--- a/misc/gramps/doinst.sh
+++ b/misc/gramps/doinst.sh
@@ -8,6 +8,6 @@ fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ /usr/bin/gtk-update-icon-cache -f usr/share/gramps/images/hicolor/ >/dev/null 2>&1
fi
fi
diff --git a/misc/gramps/gramps.SlackBuild b/misc/gramps/gramps.SlackBuild
index a0f2f6063b..a50a1ab6ca 100644
--- a/misc/gramps/gramps.SlackBuild
+++ b/misc/gramps/gramps.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gramps
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gramps
-VERSION=${VERSION:-5.1.1}
+VERSION=${VERSION:-5.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,4 +97,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/misc/gramps/gramps.info b/misc/gramps/gramps.info
index b9135a45f8..996be0a7ef 100644
--- a/misc/gramps/gramps.info
+++ b/misc/gramps/gramps.info
@@ -1,10 +1,10 @@
PRGNAM="gramps"
-VERSION="5.1.1"
+VERSION="5.1.2"
HOMEPAGE="https://www.gramps-project.org/"
-DOWNLOAD="https://github.com/gramps-project/gramps/archive/v5.1.1/gramps-5.1.1.zip"
-MD5SUM="755fde3b136ce4b534167f57f8b097cd"
+DOWNLOAD="https://github.com/gramps-project/gramps/archive/v5.1.2/gramps-5.1.2.zip"
+MD5SUM="92693297f581187fad31a3473149e690"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pygobject3-python3 pyicu bsddb3"
+REQUIRES="python3-pyicu bsddb3"
MAINTAINER="Alan Aversa"
EMAIL="alan.aveNOrsaSP@AMcox.net (remove NO and SPAM)"
diff --git a/misc/gramps/slack-desc b/misc/gramps/slack-desc
index d99659f820..f79f5836ef 100644
--- a/misc/gramps/slack-desc
+++ b/misc/gramps/slack-desc
@@ -9,11 +9,11 @@
gramps: gramps (genealogy program)
gramps:
gramps: Genealogical Research and Analysis Management Programming System
-gramps: GRAMPS is a genealogy program for Linux and other UNIX-like systems.
-gramps: GRAMPS stands for Genealogical Research and Analysis Management
-gramps: Programming System. GRAMPS helps you track your family tree. It
+gramps: Gramps is a genealogy program for Linux and other UNIX-like systems.
+gramps: Gramps stands for Genealogical Research and Analysis Management
+gramps: Programming System. Gramps helps you track your family tree. It
gramps: allows you to store, edit, and research genealogical data.
gramps:
gramps: Homepage: http://www.gramps-project.org/
gramps:
-gramps:
+gramps: Requirements: https://github.com/gramps-project/gramps#requirements