aboutsummaryrefslogtreecommitdiff
path: root/development/fossil/fossil.SlackBuild
diff options
context:
space:
mode:
authorAndy Goth <andrew.m.goth@gmail.com>2015-03-04 19:37:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-07 07:04:59 +0700
commit6b720ef60b28248994c643f5bcd9c10532ef9e9f (patch)
tree3e42e4491bf3b38a0d5b85297f526793074b5aaa /development/fossil/fossil.SlackBuild
parent33924dd786b28b5d29d2ab72ab8ea92a52793593 (diff)
development/fossil: Updated for version 1.31.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/fossil/fossil.SlackBuild')
-rw-r--r--development/fossil/fossil.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/development/fossil/fossil.SlackBuild b/development/fossil/fossil.SlackBuild
index a5fa0e8bbb2fc..91bba3065c5f9 100644
--- a/development/fossil/fossil.SlackBuild
+++ b/development/fossil/fossil.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fossil
-VERSION=${VERSION:-1.30}
-SRCVER=${SRCVER:-20150119112900} # Corresponds to version 1.30
+VERSION=${VERSION:-1.31}
+SRCVER=${SRCVER:-20150223162734} # Corresponds to version 1.31
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,15 +60,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-src-$SRCVER
+rm -rf $PRGNAM-src-$(echo $SRCVER | sed 's/..$//')
tar xvf $CWD/$PRGNAM-src-$SRCVER.tar.gz
-cd $PRGNAM-src-$SRCVER
+cd $PRGNAM-src-$(echo $SRCVER | sed 's/..$//')
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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS=$SLKCFLAGS \
CXXFLAGS=$SLKCFLAGS \
@@ -83,6 +83,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild