summaryrefslogtreecommitdiff
path: root/misc/gramps/gramps.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gramps/gramps.SlackBuild')
-rw-r--r--misc/gramps/gramps.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/gramps/gramps.SlackBuild b/misc/gramps/gramps.SlackBuild
index 21f1cc747b..93bcfdc16e 100644
--- a/misc/gramps/gramps.SlackBuild
+++ b/misc/gramps/gramps.SlackBuild
@@ -5,16 +5,14 @@
# Written by Bill Kirkpatrick <bkirkp@gmail.com>
PRGNAM=gramps
-VERSION=${VERSION:-3.2.0}
+VERSION=${VERSION:-3.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -38,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -62,6 +60,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-packager-mode \
--build=$ARCH-slackware-linux
make
@@ -70,10 +69,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING FAQ INSTALL NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION