development/icon: Updated for version 9.5.22e

Signed-off-by: Kyle Guinn <elyk03@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Kyle Guinn 2022-07-28 22:35:54 -05:00 committed by Willy Sudiarto Raharjo
parent d0f11893a0
commit 20cda89987
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 5 additions and 16 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for icon
# Copyright 2010-2021 Kyle Guinn <elyk03@gmail.com>
# Copyright 2010-2022 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=icon
VERSION=${VERSION:-9.5.20i}
VERSION=${VERSION:-9.5.22e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -80,14 +77,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
# Use the system XPM. https://github.com/gtownsend/icon/pull/2
sed -i -e 's|"../xpm/xpm.h"|<X11/xpm.h>|' src/common/xwindow.c src/h/sys.h
# Neuter the $XL variable, replace with $XLIBS which includes -lXpm.
# Set $XLIBS to empty if building without graphics (make Configure).
sed -i -e 's|-lX11|-lXpm -lX11|' config/linux/Makedefs
sed -i -e 's|XL=.*|XL= ;;|' config/setup.sh
sed -i -e 's|XL|XLIBS|' src/runtime/Makefile
# Installation creates bin, lib, man, and doc dirs inside the "dest" dir.
# Edit the Install rule to avoid having to manually rearrange files.
# The bin and lib dirs need to share a parent directory, but we don't want

View file

@ -1,8 +1,8 @@
PRGNAM="icon"
VERSION="9.5.20i"
VERSION="9.5.22e"
HOMEPAGE="https://www2.cs.arizona.edu/icon/"
DOWNLOAD="https://github.com/gtownsend/icon/archive/v9.5.20i/icon-9.5.20i.tar.gz"
MD5SUM="2c8803b42ae0512981855e9147738efd"
DOWNLOAD="https://github.com/gtownsend/icon/archive/v9.5.22e/icon-9.5.22e.tar.gz"
MD5SUM="b0dd17d0232b76d83f51f66d2ecaaa4a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""