From a9a7decf09a59b9a2a9d489091ed72decfd075ce Mon Sep 17 00:00:00 2001 From: Yanes Checcacci Balod Date: Sun, 6 Apr 2014 09:45:35 +0700 Subject: system/wterm: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- system/wterm/wterm.SlackBuild | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'system/wterm/wterm.SlackBuild') 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 -- cgit v1.2.3