office/asymptote: Updated for version 2.86.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2023-06-17 07:17:27 +07:00 committed by Willy Sudiarto Raharjo
parent 3882c1fac9
commit d1504acc56
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 9 additions and 7 deletions

View file

@ -7,3 +7,6 @@ is a programming language as opposed to just a graphics program.
To build the complete documentation, install texlive-extra and set
DOC=yes
Optional dependencies for xasy(GUI):
python3-numpy python3-cson

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=asymptote
VERSION=${VERSION:-2.85}
VERSION=${VERSION:-2.86}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -76,7 +76,6 @@ 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 {} +
# make documenation optional, as it generates ~/.asy and ~/.texlive20xx
DOC=${DOC:-no}
CFLAGS="$SLKCFLAGS" \
@ -113,7 +112,6 @@ make
make check
make install DESTDIR=$PKG
rm -rf $PKG/usr/info/asymptote
mkdir -p $PKG/usr/share/vim/vimfiles/syntax
mv $PKG/usr/share/texmf-dist/asymptote/*.vim $PKG/usr/share/vim/vimfiles/syntax
(
@ -137,8 +135,9 @@ mv BUGS ChangeLog LICENSE LICENSE.LESSER README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/info/asymptote/asymptote.info $PKG/usr/info/
rmdir $PKG/usr/info/asymptote
find $PKG/usr/info -name '*.info*' -type f -exec gzip -9 {} +
for links in $(find $PKG/usr/info -type l ) ; do ln -sf $( readlink $links ).gz $links.gz;rm $links;done
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="asymptote"
VERSION="2.85"
VERSION="2.86"
HOMEPAGE="https://asymptote.sourceforge.io/"
DOWNLOAD="https://downloads.sourceforge.net/asymptote/asymptote-2.85.src.tgz"
MD5SUM="063786b8914f718d3bccf9d9168458f1"
DOWNLOAD="https://downloads.sourceforge.net/asymptote/asymptote-2.86.src.tgz"
MD5SUM="cbba3fe866982ed1dd60b903f632a04c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="glm"