diff options
Diffstat (limited to 'office')
-rw-r--r-- | office/chmsee/README | 5 | ||||
-rw-r--r-- | office/chmsee/chmsee.SlackBuild | 98 | ||||
-rw-r--r-- | office/chmsee/chmsee.info | 10 | ||||
-rw-r--r-- | office/chmsee/doinst.sh | 4 | ||||
-rw-r--r-- | office/chmsee/slack-desc | 19 |
5 files changed, 0 insertions, 136 deletions
diff --git a/office/chmsee/README b/office/chmsee/README deleted file mode 100644 index 8176811f83..0000000000 --- a/office/chmsee/README +++ /dev/null @@ -1,5 +0,0 @@ -ChmSee is an HTML Help viewer for Unix/Linux. - -It is based on CHMLIB and use GTK+ as its frontend toolkit. Because of -using gecko HTML rendering engine, ChmSee can support rich features of -modern HTML page, specially CSS. diff --git a/office/chmsee/chmsee.SlackBuild b/office/chmsee/chmsee.SlackBuild deleted file mode 100644 index 72d640bf86..0000000000 --- a/office/chmsee/chmsee.SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# Slackware build script for chmsee - -# Copyright 2011-2012 Binh Nguyen <binhvng@gmail.com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=chmsee -VERSION=${VERSION:-1.99.14} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION -chown -R root:root . -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 {} \; - -cd src/ - cp Makefile.arch Makefile - sed -i 's/python2/python/' Makefile - make -cd - -mkdir -p $PKG/usr/share/{chmsee,applications,pixmaps} -cp -a * $PKG/usr/share/chmsee -rm -rf $PKG/usr/share/chmsee/src -mv $PKG/usr/share/chmsee/data/chmsee.desktop.in \ - $PKG/usr/share/applications/chmsee.desktop -sed -i 's/_//g' $PKG/usr/share/applications/chmsee.desktop -mv $PKG/usr/share/chmsee/data/chmsee-icon.png \ - $PKG/usr/share/pixmaps/ - -# Create a launcher -mkdir -p $PKG/usr/bin -cat <<EOF >$PKG/usr/bin/chmsee -#!/bin/sh - -xulrunner /usr/share/chmsee/application.ini "\$@" - -EOF -chmod 755 $PKG/usr/bin/chmsee - -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 -( cd $PKG/usr/doc/$PRGNAM-$VERSION -for i in AUTHORS COPYING ChangeLog HACKING NEWS README.md; do - ln -s ../../share/chmsee/$i . -done -) -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/office/chmsee/chmsee.info b/office/chmsee/chmsee.info deleted file mode 100644 index 931b90406a..0000000000 --- a/office/chmsee/chmsee.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="chmsee" -VERSION="1.99.14" -HOMEPAGE="http://code.google.com/p/chmsee/" -DOWNLOAD="ftp://harrier.slackbuilds.org/misc/chmsee-1.99.14.tar.xz" -MD5SUM="e5b8bec03f756571bc8042983bf37636" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="xulrunner" -MAINTAINER="Binh Nguyen" -EMAIL="binhvng@gmail.com" diff --git a/office/chmsee/doinst.sh b/office/chmsee/doinst.sh deleted file mode 100644 index 65fd352418..0000000000 --- a/office/chmsee/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 -fi - diff --git a/office/chmsee/slack-desc b/office/chmsee/slack-desc deleted file mode 100644 index 9e177b56be..0000000000 --- a/office/chmsee/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -chmsee: chmsee (an HTML Help viewer for Unix/Linux) -chmsee: -chmsee: ChmSee is an HTML Help viewer for Unix/Linux. -chmsee: It is based on CHMLIB and use GTK+ as its frontend toolkit. Because of -chmsee: using gecko HTML rendering engine, ChmSee can support rich features of -chmsee: modern HTML page, specially CSS. -chmsee: -chmsee: Homepage: http://code.google.com/p/chmsee/ -chmsee: -chmsee: -chmsee: |