summaryrefslogtreecommitdiff
path: root/system/wterm
diff options
context:
space:
mode:
authorYanes Checcacci Balod <yanes@pobox.com>2014-04-06 09:45:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-07 14:44:04 +0700
commita9a7decf09a59b9a2a9d489091ed72decfd075ce (patch)
tree55e9efb371602f9571d2dfc70c814b2af3d44fbb /system/wterm
parent0015ed32bcbab9c7f7653cb7f4b4c57c1a720acf (diff)
downloadslackbuilds-a9a7decf09a59b9a2a9d489091ed72decfd075ce.tar.gz
system/wterm: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/wterm')
-rw-r--r--system/wterm/wterm.SlackBuild15
1 files changed, 1 insertions, 14 deletions
diff --git a/system/wterm/wterm.SlackBuild b/system/wterm/wterm.SlackBuild
index 385a9738c6..833c63f5f6 100644
--- a/system/wterm/wterm.SlackBuild
+++ b/system/wterm/wterm.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=wterm
VERSION=${VERSION:-6.2.9}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -82,8 +82,6 @@ CXXFLAGS="$SLKCFLAGS" \
--with-x \
--with-xpm \
--enable-xpm-background \
- --bindir=/usr/lib${LIBDIRSUFFIX}/GNUstep/Applications/Wterm \
- --mandir=/usr/lib${LIBDIRSUFFIX}/GNUstep/Applications/Wterm
make
make install DESTDIR=$PKG
@@ -94,23 +92,12 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-### FIX! Remove DIRECTORY and move FILES!
-mkdir -p $PKG/usr/man/man1
-mv $PKG/usr/lib${LIBDIRSUFFIX}/GNUstep/Applications/Wterm/man1/* $PKG/usr/man/man1
-rmdir $PKG/usr/lib${LIBDIRSUFFIX}/GNUstep/Applications/Wterm/man1
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
### FIX! Create Utils in /usr/doc/wterm-$VERSION!
cp -rv doc/* $PKG/usr/doc/$PRGNAM-$VERSION/
-### FIX! Simbolic LINK on $PATH!
-mkdir $PKG/usr/bin
-cd $PKG
-(
- ln -s /usr/lib${LIBDIRSUFFIX}/GNUstep/Applications/Wterm/wterm usr/bin/wterm #Source file link does not exist, yet! Don't change it!!!
-)
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc