office/texstudio: Updated for version 2.6.0.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Larry Hajali 2013-06-25 14:05:39 -03:00 committed by Niels Horn
parent dfe903f3bf
commit 841859e6ce
2 changed files with 9 additions and 9 deletions

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=texstudio
VERSION=${VERSION:-2.5.2}
VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM$VERSION
rm -rf ${PRGNAM}${VERSION}
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM$VERSION
cd ${PRGNAM}${VERSION}
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -73,7 +73,8 @@ find . \
sed -i -e '/^Encoding/d' -e "/^Icon/s|=.*|=$PRGNAM|" utilities/texstudio.desktop
qmake LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" CONFIG-=debug -o Makefile $PRGNAM.pro
PHONON=true INCLUDEPATH+="/usr/include/KDE" QMAKE_CXXFLAGS+="$SLKCFLAGS"\
CONFIG-=debug -o Makefile $PRGNAM.pro
make
make install INSTALL_ROOT=$PKG
@ -82,8 +83,7 @@ find $PKG | xargs 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
install -m 0644 utilities/$PRGNAM.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man?/*.?
gzip -9c utilities/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
for i in 16 22 32 48 64 128; do
install -D -m 0644 utilities/${PRGNAM}${i}x${i}.png \

View File

@ -1,8 +1,8 @@
PRGNAM="texstudio"
VERSION="2.5.2"
VERSION="2.6.0"
HOMEPAGE="http://texstudio.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/texstudio/texstudio-2.5.2.tar.gz"
MD5SUM="fce221c9df49e82cfb5b8d7c702c4076"
DOWNLOAD="http://downloads.sourceforge.net/texstudio/texstudio-2.6.0.tar.gz"
MD5SUM="7394d7e7d713967cfddf8737fe748fef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""