aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-06-17 07:17:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-17 07:17:27 +0700
commitd1504acc560ea7c0d09ded0d2be60b886749bdf8 (patch)
tree79f8bec37333d7cf50485c060afdf793f8a7d642 /office
parent3882c1fac9fb75cfdce7946b2bf9fbdffbb11ef5 (diff)
office/asymptote: Updated for version 2.86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/asymptote/README3
-rw-r--r--office/asymptote/asymptote.SlackBuild7
-rw-r--r--office/asymptote/asymptote.info6
3 files changed, 9 insertions, 7 deletions
diff --git a/office/asymptote/README b/office/asymptote/README
index 300ccd79eca03..56fc91cad69f9 100644
--- a/office/asymptote/README
+++ b/office/asymptote/README
@@ -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
diff --git a/office/asymptote/asymptote.SlackBuild b/office/asymptote/asymptote.SlackBuild
index 09f587df78896..b2b9b8de9c010 100644
--- a/office/asymptote/asymptote.SlackBuild
+++ b/office/asymptote/asymptote.SlackBuild
@@ -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
diff --git a/office/asymptote/asymptote.info b/office/asymptote/asymptote.info
index ae2a643fced18..e16962c3f32c8 100644
--- a/office/asymptote/asymptote.info
+++ b/office/asymptote/asymptote.info
@@ -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"