Date: Saturday, May 7, 2016 @ 14:34:13 Author: arojas Revision: 174091
archrelease: copy trunk to community-any Added: auctex/repos/community-any/PKGBUILD (from rev 174090, auctex/trunk/PKGBUILD) auctex/repos/community-any/auctex.install (from rev 174090, auctex/trunk/auctex.install) Deleted: auctex/repos/community-any/PKGBUILD auctex/repos/community-any/auctex.install ----------------+ PKGBUILD | 66 +++++++++++++++++++++++++++---------------------------- auctex.install | 49 +++++++++++++++------------------------- 2 files changed, 51 insertions(+), 64 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-05-07 12:33:44 UTC (rev 174090) +++ PKGBUILD 2016-05-07 12:34:13 UTC (rev 174091) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=auctex -pkgver=11.89 -pkgrel=1 -pkgdesc="An extensible package for writing and formatting TeX files in Emacs" -arch=('any') -url="http://www.gnu.org/software/auctex/" -license=('GPL3') -depends=('emacs' 'ghostscript' 'texlive-core') -options=('!makeflags') -install=auctex.install -source=(http://ftp.gnu.org/pub/gnu/auctex/${pkgname}-${pkgver}.tar.gz{,.sig}) -sha1sums=('339244eee9ac932b6a6e342313ea7ea8653d86f7' - 'SKIP') -validpgpkeys=('70CDE487C45540307F86972BE2FD58BF20485F50') - -prepare() { - cd ${pkgname}-${pkgver} - sed -i 's/as_fn_error $? "--with-texmf-dir=/echo as_fn_error $? "--with-texmf-dir=/' configure -} - -build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --localstatedir=/var --with-texmf-dir=/usr/share/texmf - make -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install -} Copied: auctex/repos/community-any/PKGBUILD (from rev 174090, auctex/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-05-07 12:34:13 UTC (rev 174091) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=auctex +pkgver=11.89 +pkgrel=2 +pkgdesc="An extensible package for writing and formatting TeX files in Emacs" +arch=('any') +url="http://www.gnu.org/software/auctex/" +license=('GPL3') +depends=('emacs' 'ghostscript' 'texlive-core') +options=('!makeflags') +install=auctex.install +source=(http://ftp.gnu.org/pub/gnu/auctex/${pkgname}-${pkgver}.tar.gz{,.sig}) +sha1sums=('339244eee9ac932b6a6e342313ea7ea8653d86f7' + 'SKIP') +validpgpkeys=('70CDE487C45540307F86972BE2FD58BF20485F50') + +prepare() { + cd ${pkgname}-${pkgver} + sed -i 's/as_fn_error $? "--with-texmf-dir=/echo as_fn_error $? "--with-texmf-dir=/' configure +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --localstatedir=/var --with-texmf-dir=/usr/share/texmf + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +} Deleted: auctex.install =================================================================== --- auctex.install 2016-05-07 12:33:44 UTC (rev 174090) +++ auctex.install 2016-05-07 12:34:13 UTC (rev 174091) @@ -1,31 +0,0 @@ -infodir=/usr/share/info -filelist=(auctex.info.gz preview-latex.info.gz) - -post_install() { - post_upgrade $1 - -cat << EOF -==> For GNU Emacs, the recommended way to activate AUCTeX and preview-latex is to add the -==> following lines to your ~/.emacs file: -(load "auctex.el" nil t t) -(load "preview-latex.el" nil t t) -EOF -} - -post_upgrade() { - texconfig-sys rehash 2> /dev/null - - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -pre_remove() { - texconfig-sys rehash 2> /dev/null - - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} Copied: auctex/repos/community-any/auctex.install (from rev 174090, auctex/trunk/auctex.install) =================================================================== --- auctex.install (rev 0) +++ auctex.install 2016-05-07 12:34:13 UTC (rev 174091) @@ -0,0 +1,18 @@ +post_install() { + post_upgrade $1 + +cat << EOF +==> For GNU Emacs, the recommended way to activate AUCTeX and preview-latex is to add the +==> following lines to your ~/.emacs file: +(load "auctex.el" nil t t) +(load "preview-latex.el" nil t t) +EOF +} + +post_upgrade() { + texconfig-sys rehash 2> /dev/null +} + +pre_remove() { + texconfig-sys rehash 2> /dev/null +}