summaryrefslogtreecommitdiffstats
path: root/misc/gramps
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gramps')
-rw-r--r--misc/gramps/README21
-rw-r--r--misc/gramps/doinst.sh2
-rw-r--r--misc/gramps/gramps.SlackBuild16
-rw-r--r--misc/gramps/gramps.info2
4 files changed, 20 insertions, 21 deletions
diff --git a/misc/gramps/README b/misc/gramps/README
index d960666c8f..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.
-
-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
+Optional Dependency: osm-gps-map
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 cbd80f53d7..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.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 228f7487b0..996be0a7ef 100644
--- a/misc/gramps/gramps.info
+++ b/misc/gramps/gramps.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/gramps-project/gramps/archive/v5.1.2/gramps-5.1.2.z
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)"