development/vile: Updated for version 9.8w.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Wayne Cuddy 2022-10-23 20:28:41 +01:00 committed by Willy Sudiarto Raharjo
parent 7482afc077
commit b23d374133
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 18 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for vile
# Copyright 2010-2019 Wayne Cuddy Fairfax, VA (USA)
# Copyright 2010-2022 Wayne Cuddy Fairfax, VA (USA)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -24,10 +24,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# 2022-10-22
# - upgrade upstream version to 9.8w
#
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vile
VERSION=${VERSION:-9.8t}
VERSION=${VERSION:-9.8w}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -81,6 +87,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# 20220318 bkw: ac_cv_sys_long_file_names=yes stops it from writing to
# /usr/lib to check for long filenames.
ac_cv_sys_long_file_names=yes \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -95,15 +105,13 @@ make
make DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION install install-doc
mkdir -p $PKG/usr/share/pixmaps
cp icons/vile.* $PKG/usr/share/pixmaps
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cp icons/*.{xpm,png} $PKG/usr/share/pixmaps
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES* COPYING INSTALL README* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES* COPYING README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="vile"
VERSION="9.8t"
VERSION="9.8w"
HOMEPAGE="http://invisible-island.net/vile/"
DOWNLOAD="ftp://ftp.invisible-island.net/pub/vile/current/vile-9.8t.tgz"
MD5SUM="4a748c35844ae4b3e89352faaa6daaad"
DOWNLOAD="ftp://ftp.invisible-island.net/pub/vile/current/vile-9.8w.tgz"
MD5SUM="5dd429911dec0b7359abf1541d14b157"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""