office/auctex: Updated for version 11.86.

This commit is contained in:
Aleksandar Samardzic 2010-04-27 04:41:35 -05:00 committed by Erik Hanson
parent 68e18aff0c
commit 8df20b44dc
3 changed files with 11 additions and 17 deletions

View File

@ -5,7 +5,7 @@
# Written by Aleksandar Samardzic <asamardzic@matf.bg.ac.yu> # Written by Aleksandar Samardzic <asamardzic@matf.bg.ac.yu>
PRGNAM=auctex PRGNAM=auctex
VERSION=${VERSION:-11.85} VERSION=${VERSION:-11.86}
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -55,18 +55,6 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
rm -f $PKG/usr/info/dir rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info* gzip -9 $PKG/usr/info/*.info*
@ -77,6 +65,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -1,10 +1,10 @@
PRGNAM="auctex" PRGNAM="auctex"
VERSION="11.85" VERSION="11.86"
HOMEPAGE="http://www.gnu.org/software/auctex/" HOMEPAGE="http://www.gnu.org/software/auctex/"
DOWNLOAD="http://ftp.gnu.org/pub/gnu/auctex/auctex-11.85.tar.gz" DOWNLOAD="http://ftp.gnu.org/pub/gnu/auctex/auctex-11.86.tar.gz"
MD5SUM="597c2adbee11877fe1f9b57baf0ba165" MD5SUM="6bc33a67b6ac59db1aa238f3693b36d2"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Aleksandar Samardzic" MAINTAINER="Aleksandar Samardzic"
EMAIL="asamardzic@gmail.com" EMAIL="asamardzic@gmail.com"
APPROVED="dsomero" APPROVED="Erik Hanson"

5
office/auctex/doinst.sh Normal file
View File

@ -0,0 +1,5 @@
if [ -x /usr/bin/install-info ] ; then
chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/preview-latex.info.gz 2>/dev/null
chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/auctex.info.gz 2>/dev/null
fi