aboutsummaryrefslogtreecommitdiff
path: root/network/verlihub/verlihub.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-02-07 21:29:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-09 00:22:41 +0700
commite97d7f6dedd6e17a535bbc3991a5fa776f5aab81 (patch)
tree6d9cc6e68c1add8b19cad56e5593af174dd44824 /network/verlihub/verlihub.SlackBuild
parent713865b82c316619e4102edb26e705bc774f5fd7 (diff)
network/verlihub: Maintainer + minor fixes
Diffstat (limited to 'network/verlihub/verlihub.SlackBuild')
-rw-r--r--network/verlihub/verlihub.SlackBuild23
1 files changed, 11 insertions, 12 deletions
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 <mario@slackverse.org>
+# 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" \