summaryrefslogtreecommitdiff
path: root/development/THE
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2016-08-25 10:17:39 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-28 00:22:59 +0100
commitad887bb67ff22d7a637fa10f95b45aa306054ee0 (patch)
treea56b7c912f6bc8cce682aad59a6458f0e7284310 /development/THE
parent0106893f1e488f34e6100a529ce3ccd50495178c (diff)
downloadslackbuilds-ad887bb67ff22d7a637fa10f95b45aa306054ee0.tar.gz
development/THE: Fix html documentation.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/THE')
-rw-r--r--development/THE/THE.SlackBuild42
-rw-r--r--development/THE/images/divbot.pngbin279 -> 0 bytes
-rw-r--r--development/THE/images/divtop.pngbin280 -> 0 bytes
3 files changed, 28 insertions, 14 deletions
diff --git a/development/THE/THE.SlackBuild b/development/THE/THE.SlackBuild
index a0ff8c60ff..6b0cca20e8 100644
--- a/development/THE/THE.SlackBuild
+++ b/development/THE/THE.SlackBuild
@@ -2,16 +2,34 @@
# Slackware build script for The Hessling Editor
-# Written by Richard Narron (richard@aaazen.com)
+# Copyright 2012 Richard Narron, California, USA
+# 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=THE
VERSION=${VERSION:-3.3RC4}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -22,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -67,24 +85,20 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc
make
-make html
make install DESTDIR=$PKG
+make html
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
rm -f $PKG/usr/bin/the ; ln -fs nthe $PKG/usr/bin/the
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html/{comm,commset,commsos,misc,images}
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
install -m0644 COPYING FAQ HISTORY INSTALL README* THE*spec TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
-install -m0644 index.html $PKG/usr/doc/$PRGNAM-$VERSION/html
-install -m0644 comm/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html/comm
-install -m0644 commset/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html/commset
-install -m0644 commsos/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html/commsos
-install -m0644 misc/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html/misc
-install -m0644 the64.gif the64.png $CWD/images/*.png \
- $PKG/usr/doc/$PRGNAM-$VERSION/html/images
+install -m0644 *.html $PKG/usr/doc/$PRGNAM-$VERSION/html
+install -m0644 the64.png the64.gif $PKG/usr/doc/$PRGNAM-$VERSION/html
install -m0644 $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
diff --git a/development/THE/images/divbot.png b/development/THE/images/divbot.png
deleted file mode 100644
index 2638da86da..0000000000
--- a/development/THE/images/divbot.png
+++ /dev/null
Binary files differ
diff --git a/development/THE/images/divtop.png b/development/THE/images/divtop.png
deleted file mode 100644
index ae6b9dcd3c..0000000000
--- a/development/THE/images/divtop.png
+++ /dev/null
Binary files differ