mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
misc/subsurface: Updated for version 4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d9f6ae09dd
commit
1c784a837d
2 changed files with 10 additions and 13 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue