diff options
Diffstat (limited to 'development/fossil/fossil.SlackBuild')
-rw-r--r-- | development/fossil/fossil.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/development/fossil/fossil.SlackBuild b/development/fossil/fossil.SlackBuild index 257112f01e..b254a32c88 100644 --- a/development/fossil/fossil.SlackBuild +++ b/development/fossil/fossil.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fossil -# Copyright 2016 Andy Goth <andrew.m.goth@gmail.com> +# Copyright 2017 Andy Goth <andrew.m.goth@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,15 +23,15 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fossil -VERSION=${VERSION:-1.36} +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then - case "$(uname -m)" in + case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; - *) ARCH=$(uname -m) ;; + *) ARCH=$( uname -m ) ;; esac fi @@ -69,8 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS=$SLKCFLAGS \ -CXXFLAGS=$SLKCFLAGS \ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -86,7 +86,7 @@ mkdir -p $PKG/usr/man/man1 gzip -9c fossil.1 > $PKG/usr/man/man1/fossil.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYRIGHT-BSD2.txt BUILD.txt $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a COPYRIGHT-BSD2.txt BUILD.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |