libraries/libquvi-scripts: Updated for version 0.9.20131130.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Marek Srejma 2017-05-03 08:37:53 +07:00 committed by Willy Sudiarto Raharjo
parent 96927f68d3
commit a6bedd06db
2 changed files with 17 additions and 14 deletions

View file

@ -4,16 +4,16 @@
# Made by trebol 2012/12/13
# Modified by crocket <crockabiscuit@gmail.com>
# Maintained by slackmuz <petar.linog@gmail.com>
# Modified by Marek Srejma <sam_web@yahoo.de> 2017/05/03
PRGNAM=libquvi-scripts
VERSION=${VERSION:-0.4.21}
VERSION=${VERSION:-0.9.20131130}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -24,8 +24,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -38,7 +38,7 @@ else
LIBDIRSUFFIX=""
fi
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION"
set -e
@ -46,7 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -70,7 +70,10 @@ make
make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
for i in $( find $PKG/usr/man -type l ) ; do
ln -s $( readlink $i ).gz $i.gz
rm $i
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="libquvi-scripts"
VERSION="0.4.21"
VERSION="0.9.20131130"
HOMEPAGE="http://quvi.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/quvi/libquvi-scripts-0.4.21.tar.xz"
MD5SUM="2690c995b7cd6193cbc774a7d89a885c"
DOWNLOAD="https://downloads.sourceforge.net/quvi/libquvi-scripts-0.9.20131130.tar.xz"
MD5SUM="46ddfd887260a515199c2e1ba8c46d8a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
MAINTAINER="slackmuz"
EMAIL="petar.linog@gmail.com"
REQUIRES="luasocket"
MAINTAINER="Marek Srejma"
EMAIL="sam_web@yahoo.de"