From 2cb1b7b3250fce7b074d51cef7797a084764dd67 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Wed, 14 Apr 2010 21:02:29 -0400 Subject: office/texmaker: Updated for version 1.9.9. --- office/texmaker/texmaker.SlackBuild | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'office/texmaker/texmaker.SlackBuild') diff --git a/office/texmaker/texmaker.SlackBuild b/office/texmaker/texmaker.SlackBuild index 7cb31a7ae3..3dc06115ea 100644 --- a/office/texmaker/texmaker.SlackBuild +++ b/office/texmaker/texmaker.SlackBuild @@ -5,9 +5,9 @@ # Written by Larry Hajali PRGNAM=texmaker -VERSION=${VERSION:-1.9.2} +VERSION=${VERSION:-1.9.9} ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -41,8 +41,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/focus.patch - qmake -unix PREFIX=/usr -o Makefile $PRGNAM.pro make \ @@ -54,13 +52,22 @@ make install INSTALL_ROOT=$PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null + xargs strip --strip-unneeded 2> /dev/null || true ) mkdir -p $PKG/usr/man/man1 install -m 0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man?/*.? +for i in 16 22 32 48 64 128; do + install -D -m 0644 utilities/${PRGNAM}${i}x${i}.png \ + $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png +done + +install -D -m 0644 utilities/$PRGNAM.svg \ + $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg +rm -rf $PKG/usr/share/pixmaps + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ INSTALL utilities/{AUTHORS,CHANGELOG.txt,license.txt,COPYING} \ -- cgit v1.2.3