office/texstudio: Updated for version 2.6.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
dfe903f3bf
commit
841859e6ce
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=texstudio
|
PRGNAM=texstudio
|
||||||
VERSION=${VERSION:-2.5.2}
|
VERSION=${VERSION:-2.6.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -59,9 +59,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM$VERSION
|
rm -rf ${PRGNAM}${VERSION}
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM$VERSION
|
cd ${PRGNAM}${VERSION}
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -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
|
sed -i -e '/^Encoding/d' -e "/^Icon/s|=.*|=$PRGNAM|" utilities/texstudio.desktop
|
||||||
|
|
||||||
qmake LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
|
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
|
||||||
make install INSTALL_ROOT=$PKG
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/man/man1
|
mkdir -p $PKG/usr/man/man1
|
||||||
install -m 0644 utilities/$PRGNAM.1 $PKG/usr/man/man1
|
gzip -9c utilities/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
|
||||||
gzip -9 $PKG/usr/man/man?/*.?
|
|
||||||
|
|
||||||
for i in 16 22 32 48 64 128; do
|
for i in 16 22 32 48 64 128; do
|
||||||
install -D -m 0644 utilities/${PRGNAM}${i}x${i}.png \
|
install -D -m 0644 utilities/${PRGNAM}${i}x${i}.png \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="texstudio"
|
PRGNAM="texstudio"
|
||||||
VERSION="2.5.2"
|
VERSION="2.6.0"
|
||||||
HOMEPAGE="http://texstudio.sourceforge.net/"
|
HOMEPAGE="http://texstudio.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/texstudio/texstudio-2.5.2.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/texstudio/texstudio-2.6.0.tar.gz"
|
||||||
MD5SUM="fce221c9df49e82cfb5b8d7c702c4076"
|
MD5SUM="7394d7e7d713967cfddf8737fe748fef"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in New Issue