misc/igal2: Updated for version 2.3.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Petar Petrov 2020-01-05 00:57:11 -06:00 committed by Willy Sudiarto Raharjo
parent 5817aa4f6f
commit bbd682e7ed
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 19 additions and 14 deletions

View File

@ -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

View File

@ -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=""