summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds[at]schoepfer[dot]info>2018-05-05 11:00:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-05-12 06:58:22 +0700
commit49d2a7d865b1f785af0165eaa28626f2d2dd3a2f (patch)
tree8f75defe27b64cb58e9444726129f139ccca3a01 /office
parentb8bc6ef423bb25a90002f39d125c299c59bfbbe1 (diff)
downloadslackbuilds-49d2a7d865b1f785af0165eaa28626f2d2dd3a2f.tar.gz
office/asymptote: Updated for version 2.44.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/asymptote/asymptote.SlackBuild34
-rw-r--r--office/asymptote/asymptote.info6
2 files changed, 28 insertions, 12 deletions
diff --git a/office/asymptote/asymptote.SlackBuild b/office/asymptote/asymptote.SlackBuild
index d8881970df..c591eca5ff 100644
--- a/office/asymptote/asymptote.SlackBuild
+++ b/office/asymptote/asymptote.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for asymptote
-# Copyright 2016-2017 Johannes Schoepfer, Germany
+# Copyright 2016 - 2018 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=asymptote
-VERSION=${VERSION:-2.41}
+VERSION=${VERSION:-2.44}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,29 +79,45 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-gc=system \
+ --enable-offscreen \
--with-latex=/usr/share/texmf-dist/tex/latex \
--with-context=/usr/share/texmf-dist/tex/context \
--datarootdir=/usr/share/texmf-dist \
--build=$ARCH-slackware-linux
-make
-make check
-make install DESTDIR=$PKG
+make -j1 all
+make -j1 check-all
+make -j1 install-all 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
+(
+ mkdir -p $PKG/usr/share/org.kde.syntax-highlighting/syntax
+ cd $PKG/usr/share/texmf-dist/asymptote/
+ sh asy-kate.sh
+ mv asymptote.xml $PKG/usr/share/org.kde.syntax-highlighting/syntax
+ rm asy-kate.sh
+)
+mkdir -p $PKG/usr/share/emacs/site-lisp
+mv $PKG/usr/share/texmf-dist/asymptote/*.el $PKG/usr/share/emacs/site-lisp
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} +
+find $PKG/usr/man -type f -exec gzip -9 {} +
for links in $(find $PKG/usr/man -type l ) ; do ln -sf $( readlink $links ).gz $links.gz;rm $links;done
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv BUGS ChangeLog INSTALL LICENSE LICENSE.LESSER README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
cd $PKG/usr/info
find . -type f -exec gzip -9 {} +
for links in $(find . -type l ) ; do ln -sf $( readlink $links ).gz $links.gz;rm $links;done
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
cd $PKG
/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/office/asymptote/asymptote.info b/office/asymptote/asymptote.info
index 08e11768e3..2d7de25278 100644
--- a/office/asymptote/asymptote.info
+++ b/office/asymptote/asymptote.info
@@ -1,8 +1,8 @@
PRGNAM="asymptote"
-VERSION="2.41"
+VERSION="2.44"
HOMEPAGE="http://asymptote.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/sourceforge/asymptote/asymptote-2.41.src.tgz"
-MD5SUM="d16909a9189a3177ad2f8cb8161e32e1"
+DOWNLOAD="https://downloads.sourceforge.net/sourceforge/asymptote/asymptote-2.44.src.tgz"
+MD5SUM="98cd8858841e6e833039b85e0b814257"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="texlive"