mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
system/wterm: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0015ed32bc
commit
a9a7decf09
1 changed files with 1 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue