summaryrefslogtreecommitdiff
path: root/academic/qalculate-gtk/qalculate-gtk.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2019-09-19 20:02:57 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-21 16:21:20 +0700
commitec7f2c90652c4c764c0fc55f524418e9d786ff84 (patch)
treebeedf4b45f4b903dfd0fb3f7ee2c65113845a9de /academic/qalculate-gtk/qalculate-gtk.SlackBuild
parente31c1139a3d319b13b218cfd33ac17e799f5c49c (diff)
downloadslackbuilds-ec7f2c90652c4c764c0fc55f524418e9d786ff84.tar.gz
academic/qalculate-gtk: Updated for version 3.4.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'academic/qalculate-gtk/qalculate-gtk.SlackBuild')
-rw-r--r--academic/qalculate-gtk/qalculate-gtk.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/academic/qalculate-gtk/qalculate-gtk.SlackBuild b/academic/qalculate-gtk/qalculate-gtk.SlackBuild
index fd8d9b073e..569baa8084 100644
--- a/academic/qalculate-gtk/qalculate-gtk.SlackBuild
+++ b/academic/qalculate-gtk/qalculate-gtk.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qalculate-gtk
-VERSION=${VERSION:-2.9.0}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --mandir=/usr/man \
--disable-silent-rules \
--build=$ARCH-slackware-linux
@@ -83,6 +84,8 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild