summaryrefslogtreecommitdiffstats
path: root/libraries/vte3-ng/vte3-ng.SlackBuild
diff options
context:
space:
mode:
author Azure Zanculmarktum <zanculmarktum@gmail.com>2018-03-16 18:25:11 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-16 18:25:11 +0700
commit208148a72d5cbc54bf7e5df9e36451d76226c96f (patch)
tree07bbb93b78497376c7939eb1fa5753552c88c4c3 /libraries/vte3-ng/vte3-ng.SlackBuild
parent2ed6c9ff16a015ddcf60a7a5338330bbbe60c196 (diff)
downloadslackbuilds-208148a72d5cbc54bf7e5df9e36451d76226c96f.tar.gz
slackbuilds-208148a72d5cbc54bf7e5df9e36451d76226c96f.tar.xz
libraries/vte3-ng: Updated for version 0.50.2.a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/vte3-ng/vte3-ng.SlackBuild')
-rw-r--r--libraries/vte3-ng/vte3-ng.SlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/libraries/vte3-ng/vte3-ng.SlackBuild b/libraries/vte3-ng/vte3-ng.SlackBuild
index 5eb55fafbd..bce5471b2f 100644
--- a/libraries/vte3-ng/vte3-ng.SlackBuild
+++ b/libraries/vte3-ng/vte3-ng.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for vte3-ng
-# Copyright 2017 Azure Zanculmarktum <zanculmarktum@gmail.com>
+# Copyright 2017-2018 Azure Zanculmarktum <zanculmarktum@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vte3-ng
-VERSION=${VERSION:-0.48.2.a}
+VERSION=${VERSION:-0.50.2.a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM="$(sed 's/3//' <<< $PRGNAM)"
+SRCNAM=${PRGNAM%3*}${PRGNAM#*3}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -58,15 +58,15 @@ fi
set -e
-( cd /var/log/packages
+cd /var/log/packages
for f in vte3*; do
- if grep '^vte3-[^-]*-[^-]*-[^-]*$' <<< "$f" > /dev/null 2>&1; then
+ if echo "$f" | grep '^vte3-[^-]*-[^-]*-[^-]*$' >/dev/null 2>&1; then
echo "vte3 package exists. Remove it first before continuing."
echo " # /sbin/removepkg vte3"
exit 1
fi
done
-)
+cd - >/dev/null
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -76,10 +76,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
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 640 -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 {} \;
./autogen.sh