libraries/allegro4: Updated for version 4.4.3.1.

Patch to allow building the docs with texinfo 6.7

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
JK Wood 2020-12-25 11:10:12 +01:00 committed by Robby Workman
parent 3c7db9e963
commit 95ca554557
3 changed files with 16 additions and 6 deletions

View file

@ -32,7 +32,7 @@
PRGNAM=allegro4
SRCNAM=allegro
VERSION=${VERSION:-4.4.2}
VERSION=${VERSION:-4.4.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -79,6 +79,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/build-dir.diff
patch -p1 < $CWD/texinfo-6.7.patch
mkdir -p build
cd build
@ -110,8 +111,7 @@ if [ -e /usr/share/sounds/eawpats/default.cfg ]; then
$PKG/usr/share/$SRCNAM/patches.dat
fi
mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION
cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$SRCNAM-$VERSION
mv $PKG/usr/doc/$SRCNAM-* $PKG/usr/doc/$SRCNAM-$VERSION || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$SRCNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="allegro4"
VERSION="4.4.2"
VERSION="4.4.3.1"
HOMEPAGE="https://www.allegro.cc/"
DOWNLOAD="https://downloads.sourceforge.net/alleg/allegro-4.4.2.tar.gz"
MD5SUM="4db71b0460fc99926ae91d223199c2e6"
DOWNLOAD="https://github.com/liballeg/allegro5/releases/download/4.4.3.1/allegro-4.4.3.1.tar.gz"
MD5SUM="d0435da87d4c157ad3620e1cc58b807e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -0,0 +1,10 @@
--- a/docs/src/allegro._tx 2020-12-24 17:20:47.460212662 -0600
+++ a/docs/src/allegro._tx 2020-12-24 17:22:03.453620793 -0600
@@ -23,6 +23,7 @@
@man_shortdesc_force1=allegro
@man_shortdesc_force2=Allegro game programming library.
@$\input texinfo
+@$@documentencoding ISO-8859-1
@$@setfilename allegro.inf
@$@settitle Allegro Manual
@$@setchapternewpage odd