From 1c784a837d15657f73eeec7e85f8bfa7ee5fd9e3 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 6 Jul 2014 08:27:10 +0700 Subject: misc/subsurface: Updated for version 4.1. Signed-off-by: Willy Sudiarto Raharjo --- misc/subsurface/subsurface.SlackBuild | 15 ++++++--------- misc/subsurface/subsurface.info | 8 ++++---- 2 files changed, 10 insertions(+), 13 deletions(-) (limited to 'misc') diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild index 6f878dc1a6..bf8ba265f0 100644 --- a/misc/subsurface/subsurface.SlackBuild +++ b/misc/subsurface/subsurface.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=subsurface SRCNAM=Subsurface -VERSION=${VERSION:-4.0.3} +VERSION=${VERSION:-4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,15 +65,13 @@ tar xvf $CWD/$SRCNAM-$VERSION.tgz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -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 {} \; # Fix man page directory. -sed -i '/^MANDIR/s|=.*|= /usr/man/man1\$\${nl}|' $PRGNAM-install.pri -# Fix version number. -sed -i "s|4.0.1|$VERSION|" Documentation/user-manual.* +sed -i '/MANDIR =/s|=.*|= /usr/man/man1|' $PRGNAM-install.pri qmake PREFX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \ V=1 -config release -o Makefile $PRGNAM.pro @@ -87,8 +85,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - gpl-2.0.txt INSTALL README ReleaseNotes.txt SupportedDivecomputers.* \ +cp -a gpl-2.0.txt INSTALL README ReleaseNotes.txt SupportedDivecomputers.* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/misc/subsurface/subsurface.info b/misc/subsurface/subsurface.info index ecbd65b525..7cf2d5bee5 100644 --- a/misc/subsurface/subsurface.info +++ b/misc/subsurface/subsurface.info @@ -1,10 +1,10 @@ PRGNAM="subsurface" -VERSION="4.0.3" +VERSION="4.1" HOMEPAGE="http://subsurface.hohndel.org/" -DOWNLOAD="http://subsurface.hohndel.org/downloads/Subsurface-4.0.3.tgz" -MD5SUM="902957ea6169b9359317ba099893b88e" +DOWNLOAD="http://subsurface.hohndel.org/downloads/Subsurface-4.1.tgz" +MD5SUM="3a71974c4896aa49039e8a407249564f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libdivecomputer" +REQUIRES="libdivecomputer libgit2" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" -- cgit v1.2.3