diff options
Diffstat (limited to 'libraries/vte3-ng/vte3-ng.SlackBuild')
-rw-r--r-- | libraries/vte3-ng/vte3-ng.SlackBuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libraries/vte3-ng/vte3-ng.SlackBuild b/libraries/vte3-ng/vte3-ng.SlackBuild index 5eb55fafbd62..bce5471b2f18 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 |