From e97d7f6dedd6e17a535bbc3991a5fa776f5aab81 Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Sat, 7 Feb 2015 21:29:52 +0100 Subject: network/verlihub: Maintainer + minor fixes --- network/verlihub/verlihub.SlackBuild | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'network/verlihub/verlihub.SlackBuild') diff --git a/network/verlihub/verlihub.SlackBuild b/network/verlihub/verlihub.SlackBuild index 5ed9e7d674c9b..25c0729a42e8f 100644 --- a/network/verlihub/verlihub.SlackBuild +++ b/network/verlihub/verlihub.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for Verlihub +# Slackware build script for verlihub -# Copyright 2010, mario +# Copyright 2010, 2015 Mario Preksavec, Zagreb, HR # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,7 +11,7 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, @@ -27,8 +27,7 @@ VERSION=${VERSION:-0.9.8e_r2} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Temporary package version, for source to unpack successfuly -TMPVER=${TMPVER:-0.9.8e-r2} +SRCVER=${SRCVER:-0.9.8e-r2} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -62,15 +61,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$TMPVER -tar jxvf $CWD/$PRGNAM-$TMPVER.tar.bz2 -cd $PRGNAM-$TMPVER +rm -rf $PRGNAM-$SRCVER +tar jxvf $CWD/$PRGNAM-$SRCVER.tar.bz2 +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/verlihub-header.patch CFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3