development/fossil: Updated for version 1.31.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andy Goth 2015-03-04 19:37:08 +07:00 committed by Willy Sudiarto Raharjo
parent 33924dd786
commit 6b720ef60b
2 changed files with 11 additions and 8 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="fossil"
VERSION="1.30"
VERSION="1.31"
HOMEPAGE="http://www.fossil-scm.org/"
DOWNLOAD="http://www.fossil-scm.org/download/fossil-src-20150119112900.tar.gz"
MD5SUM="dd7cf91c2725ea8aaa0913330fffa0ff"
DOWNLOAD="http://www.fossil-scm.org/download/fossil-src-20150223162734.tar.gz"
MD5SUM="8fe9dbf05d3b5aead18e1e8d4226a648"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""