diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-07-25 11:22:39 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-07-25 11:23:03 +0100 |
commit | a680e62fda3aefa06c3613697b5396576db3ee6a (patch) | |
tree | c66a59715d22ff511cf09c6558b154865f070372 /graphics | |
parent | feb9f3ea428e4ea3a18b6f32f2dc35668f6aeba5 (diff) | |
download | slackbuilds-a680e62fda3aefa06c3613697b5396576db3ee6a.tar.gz |
graphics/viewnior: Update script and REQUIRES.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/viewnior/viewnior.SlackBuild | 16 | ||||
-rw-r--r-- | graphics/viewnior/viewnior.info | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/graphics/viewnior/viewnior.SlackBuild b/graphics/viewnior/viewnior.SlackBuild index e8284f3626..bd42d93fda 100644 --- a/graphics/viewnior/viewnior.SlackBuild +++ b/graphics/viewnior/viewnior.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for viewnior. # # 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. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=viewnior VERSION=${VERSION:-1.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} 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 \) \ -exec chmod 644 {} \; -./autogen.sh +autoreconf -fiv CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux make @@ -84,12 +89,11 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | 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 {} \; +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 \ - AUTHORS COPYING ChangeLog-20090517 INSTALL NEWS README TODO \ +cp AUTHORS COPYING ChangeLog-20090517 INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/graphics/viewnior/viewnior.info b/graphics/viewnior/viewnior.info index f13522d35d..1e2f64f9da 100644 --- a/graphics/viewnior/viewnior.info +++ b/graphics/viewnior/viewnior.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/hellosiyan/Viewnior/archive/viewnior-1.6.tar.gz" MD5SUM="f7d497360c48ce4bce09328d934cc4a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gnome-common" +REQUIRES="" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" |