summaryrefslogtreecommitdiff
path: root/academic/qalculate-gtk
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
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')
-rw-r--r--academic/qalculate-gtk/qalculate-gtk.SlackBuild5
-rw-r--r--academic/qalculate-gtk/qalculate-gtk.info6
2 files changed, 7 insertions, 4 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
diff --git a/academic/qalculate-gtk/qalculate-gtk.info b/academic/qalculate-gtk/qalculate-gtk.info
index 2fc34d1d81..e3b8170127 100644
--- a/academic/qalculate-gtk/qalculate-gtk.info
+++ b/academic/qalculate-gtk/qalculate-gtk.info
@@ -1,8 +1,8 @@
PRGNAM="qalculate-gtk"
-VERSION="2.9.0"
+VERSION="3.4.0"
HOMEPAGE="http://qalculate.github.io/"
-DOWNLOAD="https://github.com/Qalculate/qalculate-gtk/releases/download/v2.9.0/qalculate-gtk-2.9.0.tar.gz"
-MD5SUM="1d7c7797eb01d601f6b9f4f5ac4f3bfc"
+DOWNLOAD="https://github.com/Qalculate/qalculate-gtk/releases/download/v3.4.0/qalculate-gtk-3.4.0.tar.gz"
+MD5SUM="58a8670ce4f3e692acbd2f27d104f82e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libqalculate"