diff options
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 fa17af26eb..c0e89bff59 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 \ |