graphics/viewnior: Update script and REQUIRES.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
feb9f3ea42
commit
a680e62fda
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for viewnior.
|
# Slackware build script for viewnior.
|
||||||
#
|
#
|
||||||
# Written by Šime Ramov <s@ramov.com>
|
# Written by Šime Ramov <s@ramov.com>
|
||||||
# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
PRGNAM=viewnior
|
PRGNAM=viewnior
|
||||||
VERSION=${VERSION:-1.6}
|
VERSION=${VERSION:-1.6}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -70,12 +70,17 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
./autogen.sh
|
autoreconf -fiv
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
@ -84,12 +89,11 @@ 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 {} \;
|
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
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp AUTHORS COPYING ChangeLog-20090517 INSTALL NEWS README TODO \
|
||||||
AUTHORS COPYING ChangeLog-20090517 INSTALL NEWS README TODO \
|
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/hellosiyan/Viewnior/archive/viewnior-1.6.tar.gz"
|
||||||
MD5SUM="f7d497360c48ce4bce09328d934cc4a4"
|
MD5SUM="f7d497360c48ce4bce09328d934cc4a4"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="gnome-common"
|
REQUIRES=""
|
||||||
MAINTAINER="Edinaldo P. Silva"
|
MAINTAINER="Edinaldo P. Silva"
|
||||||
EMAIL="edps.mundognu@gmail.com"
|
EMAIL="edps.mundognu@gmail.com"
|
||||||
|
|
Loading…
Reference in New Issue