summaryrefslogtreecommitdiff
path: root/academic/galculator
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-16 03:45:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-16 12:23:28 +0700
commitfee1d410263fb7af4c225c35d22b97e6bb6eac79 (patch)
tree846bb229dbafc96a907a4305168bfd785cb70e80 /academic/galculator
parent946d7e3d236f311052afb1fe7a88f5ad4d0c1437 (diff)
downloadslackbuilds-fee1d410263fb7af4c225c35d22b97e6bb6eac79.tar.gz
academic/galculator: Updated for version 2.1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/galculator')
-rw-r--r--academic/galculator/galculator.SlackBuild9
-rw-r--r--academic/galculator/galculator.info8
-rw-r--r--academic/galculator/slack-desc2
3 files changed, 9 insertions, 10 deletions
diff --git a/academic/galculator/galculator.SlackBuild b/academic/galculator/galculator.SlackBuild
index 6a35ff15a2..5eab3e17a3 100644
--- a/academic/galculator/galculator.SlackBuild
+++ b/academic/galculator/galculator.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for galculator
# Copyright 2008, 2009 Frank Caraballo <fecaraballo{at}gmail{dot}com>
-# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=galculator
-VERSION=${VERSION:-2.1.3}
+VERSION=${VERSION:-2.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,10 +70,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-LDFLAGS+=' -lm' \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
diff --git a/academic/galculator/galculator.info b/academic/galculator/galculator.info
index 539c48b879..2a2b57062e 100644
--- a/academic/galculator/galculator.info
+++ b/academic/galculator/galculator.info
@@ -1,8 +1,8 @@
PRGNAM="galculator"
-VERSION="2.1.3"
-HOMEPAGE="http://galculator.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/galculator/galculator-2.1.3.tar.bz2"
-MD5SUM="a7a333cc4c321507434fe3f8e48fcd0a"
+VERSION="2.1.4"
+HOMEPAGE="https://github.com/galculator/galculator"
+DOWNLOAD="https://github.com/galculator/galculator/archive/v2.1.4.tar.gz"
+MD5SUM="179dbce433ca79f0662ec6a02b4ddb56"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/academic/galculator/slack-desc b/academic/galculator/slack-desc
index cef2da99ae..994e3a8d87 100644
--- a/academic/galculator/slack-desc
+++ b/academic/galculator/slack-desc
@@ -12,7 +12,7 @@ galculator: galculator is a GTK 2 based calculator with ordinary notation/revers
galculator: polish notation, a formula entry mode, different number bases (DEC,
galculator: HEX, OCT, BIN) and different units of angular measure (DEG, RAD, GRAD)
galculator:
-galculator: Homepage: http://galculator.sourceforge.net/
+galculator: Homepage: https://github.com/galculator/galculator
galculator:
galculator:
galculator: