graphics/viewnior: Updated for version 1.3.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Binh Nguyen 2012-09-13 08:29:39 +07:00 committed by Robby Workman
parent 679cbdcb74
commit f8327323d8
2 changed files with 7 additions and 6 deletions

View file

@ -4,16 +4,14 @@
# Written by Šime Ramov <s@ramov.com> # Written by Šime Ramov <s@ramov.com>
PRGNAM=viewnior PRGNAM=viewnior
VERSION=${VERSION:-1.0} VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -68,6 +66,9 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \

View file

@ -1,8 +1,8 @@
PRGNAM="viewnior" PRGNAM="viewnior"
VERSION="1.0" VERSION="1.3"
HOMEPAGE="http://xsisqox.github.com/Viewnior/" HOMEPAGE="http://xsisqox.github.com/Viewnior/"
DOWNLOAD="http://cloud.github.com/downloads/xsisqox/Viewnior/viewnior-1.0.tar.gz" DOWNLOAD="http://cloud.github.com/downloads/xsisqox/Viewnior/viewnior-1.3.tar.gz"
MD5SUM="a9cc6cdf5b0c628ad7a2577656915f58" MD5SUM="273c379933ae3e74ad414fde00198695"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""