diff options
Diffstat (limited to 'office/apvlv/apvlv.SlackBuild')
-rw-r--r-- | office/apvlv/apvlv.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/office/apvlv/apvlv.SlackBuild b/office/apvlv/apvlv.SlackBuild index 9d8f2c74c8579..453ee42718110 100644 --- a/office/apvlv/apvlv.SlackBuild +++ b/office/apvlv/apvlv.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for apvlv -# Copyright 2009 Grigorios Bouzakis <grbzks@xsmail.com> +# Copyright 2010 Eugene Wissner <belka.ew@gmail.com> # All rights reserved. # # Permission to use, copy, modify, and distribute this software for any purpose @@ -19,17 +19,17 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# The SlackBuild was written by Grigorios Bouzakis + PRGNAM=apvlv -VERSION=${VERSION:-0.0.9.2} +VERSION=${VERSION:-0.0.9.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -90,10 +90,8 @@ mv $PKG/etc/apvlvrc $PKG/etc/apvlvrc.new find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION |