aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2020-01-05 00:57:11 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:59 +0700
commitbbd682e7ed0239cc121b0a59224c2f9d716a4aad (patch)
tree64abe1939ba1b28bc97343b8ed2ec7c2425e4cd3 /misc
parent5817aa4f6faa94e9170f224ee936f1beba9e8616 (diff)
misc/igal2: Updated for version 2.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/igal2/igal2.SlackBuild27
-rw-r--r--misc/igal2/igal2.info6
2 files changed, 19 insertions, 14 deletions
diff --git a/misc/igal2/igal2.SlackBuild b/misc/igal2/igal2.SlackBuild
index 2bf21519b0486..64ff34ba7f6de 100644
--- a/misc/igal2/igal2.SlackBuild
+++ b/misc/igal2/igal2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for igal2
-# Copyright 2012-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2012-2020 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=igal2
-VERSION=${VERSION:-2.2}
+VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=igal
+
ARCH=noarch
CWD=$(pwd)
@@ -39,8 +41,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -50,20 +52,23 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# We'll put these in the doc directory later
+sed -i "s:/usr/local:/usr:g" Makefile
+sed -i "s:(DATADIR)/man/man1:(PREFIX)/man/man1:g" Makefile
+sed -i "s:(PREFIX)/lib/igal:(PREFIX)/share/$PRGNAM:" Makefile
sed -i "s:README::" Makefile
sed -i "s:ChangeLog::" Makefile
sed -i "s:COPYING::" Makefile
-# Arch-independent files should go in /usr/share
-sed -i "s:/usr/local/lib:/usr/share:g" igal2
-
# Path fix
+sed -i "s:/usr/local:/usr:g" igal2
sed -i "s:/usr/local:/usr:g" utilities/*
-make install DESTDIR=$PKG \
- BINDIR=$PKG/usr/bin \
- MANDIR=$PKG/usr/man/man1 \
- LIBDIR=$PKG/usr/share/$PRGNAM
+make install DESTDIR=$PKG
+
+cp -a utilities $PKG/usr/share/$PRGNAM
+
+# This is in /usr/share/igal2/utilities
+rm $PKG/usr/bin/$PRGNAM.sh
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
diff --git a/misc/igal2/igal2.info b/misc/igal2/igal2.info
index bcc8832ecb92d..a786183096998 100644
--- a/misc/igal2/igal2.info
+++ b/misc/igal2/igal2.info
@@ -1,8 +1,8 @@
PRGNAM="igal2"
-VERSION="2.2"
+VERSION="2.3"
HOMEPAGE="http://igal.trexler.at/"
-DOWNLOAD="http://igal.trexler.at/igal2-2.2.tar.gz"
-MD5SUM="257058ffa3d8ac5ef71232743f91c4b5"
+DOWNLOAD="https://github.com/solbu/igal2/archive/v2.3/igal-2.3.tar.gz"
+MD5SUM="f6aa6d329288f70419fe27d9c5bf91e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""