diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2013-06-25 14:05:39 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-06-25 14:05:39 -0300 |
commit | 841859e6ce3c564586eb39b3a3df6fe62d6f704f (patch) | |
tree | a24e4c70e0bbcba59ad93b28c943790ee23f8369 /office/texstudio/texstudio.SlackBuild | |
parent | dfe903f3bf8b973adad72d64819c9e5ef3f7adce (diff) |
office/texstudio: Updated for version 2.6.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/texstudio/texstudio.SlackBuild')
-rw-r--r-- | office/texstudio/texstudio.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/office/texstudio/texstudio.SlackBuild b/office/texstudio/texstudio.SlackBuild index fa17af26eb16c..c0e89bff59a4c 100644 --- a/office/texstudio/texstudio.SlackBuild +++ b/office/texstudio/texstudio.SlackBuild @@ -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 \ |