diff options
author | hollywoodb <hollywoodb@fastmail.fm> | 2010-05-11 22:26:07 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:26:07 +0200 |
commit | 95000f4ee6c324205dd513766d544764ce948cf8 (patch) | |
tree | 0888c4c7eaf4a9cc95a68c499ef1f5d232e0a760 /office/kile | |
parent | 1fc042e865a2f391083806dd0f6e7c74e73c2f6c (diff) | |
download | slackbuilds-95000f4ee6c324205dd513766d544764ce948cf8.tar.gz |
office/kile: Updated for version 2.0.2
Diffstat (limited to 'office/kile')
-rw-r--r-- | office/kile/README | 21 | ||||
-rw-r--r-- | office/kile/doinst.sh | 14 | ||||
-rw-r--r-- | office/kile/kile.SlackBuild | 35 | ||||
-rw-r--r-- | office/kile/kile.info | 8 |
4 files changed, 28 insertions, 50 deletions
diff --git a/office/kile/README b/office/kile/README index 638358ad47..013fc6f767 100644 --- a/office/kile/README +++ b/office/kile/README @@ -1,22 +1 @@ Kile is a user friendly TeX/LaTeX editor for the KDE desktop environment. - -The main features are: - -* Compile, convert and view your document with one click. -* Auto-completion of (La)TeX commands -* Templates and wizards make starting a new document very little work. -* Easy insertion of many standard tags and symbols and the option to define - (an arbitrary number of) user defined tags. -* Inverse and forward search: click in the DVI viewer and jump to the - corresponding LaTeX line in the editor, or jump from the editor to the - corresponding page in the viewer. -* Finding chapter or sections is very easy, Kile constructs a list of all the - chapter etc. in your document. You can use the list to jump to the - corresponding section. -* Collect documents that belong together into a project. -* Easy insertion of citations and references when using projects. -* Flexible and smart build system to compile your LaTeX documents. -* QuickPreview, preview a selected part of your document. -* Easy access to various help sources. -* Advanced editing commands. - diff --git a/office/kile/doinst.sh b/office/kile/doinst.sh index 55d469fb0d..92421f23d2 100644 --- a/office/kile/doinst.sh +++ b/office/kile/doinst.sh @@ -1,4 +1,12 @@ -if [ -x usr/bin/update-desktop-database ]; then - usr/bin/update-desktop-database -q usr/share/applications +# Update the desktop menu database +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications fi -
\ No newline at end of file + +# Update icon cache if one exists +if [ -r usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -t -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/office/kile/kile.SlackBuild b/office/kile/kile.SlackBuild index 8a56cf0535..2b005cbdae 100644 --- a/office/kile/kile.SlackBuild +++ b/office/kile/kile.SlackBuild @@ -3,17 +3,12 @@ ## Written by hollywoodb (hollywoodb@fastmail.fm) ## Package Homepage: http://kile.sourceforge.net/ -## Feel free to use, modify, redistribute this script. -## If you make changes please modify the "Written by" -## so that I don't recieve emails about a script I -## did not write. Thanks. - # Modified by the SlackBuilds.org project # Modified by Michiel van Wessem <michiel@slackbuilds.org> to update -# to version 2.0 +# to version 2.0.2 PRGNAM=kile -VERSION=2.0 +VERSION=${VERSION:-2.0.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,36 +28,32 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar -jxvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM-$VERSION || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -KDEPREF=$(kde-config --prefix) - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=$KDEPREF \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --mandir=/usr/man \ + --disable-static \ --disable-debug \ - || exit 1 - -make || exit 1 -make install DESTDIR=$PKG || exit 1 + --build=$ARCH-slackware-linux -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +make +make install DESTDIR=$PKG -( cd $PKG/usr/ ; mv share/doc . ) +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/doc/$PRGNAM-$VERSION cp Building-with-cmake.txt AUTHORS COPYING ChangeLog README* TODO \ diff --git a/office/kile/kile.info b/office/kile/kile.info index ae02a3157e..7862eaa00d 100644 --- a/office/kile/kile.info +++ b/office/kile/kile.info @@ -1,8 +1,8 @@ PRGNAM="kile" -VERSION="2.0" +VERSION="2.0.2" HOMEPAGE="http://kile.sourceforge.net/" -DOWNLOAD="http://dl.sourceforge.net/kile/kile-2.0.tar.bz2" -MD5SUM="78fed6091aec3f1357c69f6462528ed2" +DOWNLOAD="http://downloads.sourceforge.net/kile/kile-2.0.2.tar.bz2" +MD5SUM="0599b546e49029f9e42835494892a04c" MAINTAINER="hollywoodb" EMAIL="hollywoodb@fastmail.fm" -APPROVED="David Somero" +APPROVED="rworkman" |