mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
office/asymptote: Updated for version 2.44.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
b8bc6ef423
commit
49d2a7d865
2 changed files with 28 additions and 12 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue