[arch-commits] Commit in auctex/repos/community-any (4 files)

Eric Bélanger eric at nymeria.archlinux.org
Fri Jul 4 01:58:35 UTC 2014


    Date: Friday, July 4, 2014 @ 03:58:35
  Author: eric
Revision: 114772

archrelease: copy trunk to community-any

Added:
  auctex/repos/community-any/PKGBUILD
    (from rev 114771, auctex/trunk/PKGBUILD)
  auctex/repos/community-any/auctex.install
    (from rev 114771, auctex/trunk/auctex.install)
Deleted:
  auctex/repos/community-any/PKGBUILD
  auctex/repos/community-any/auctex.install

----------------+
 PKGBUILD       |   58 +++++++++++++++++++++++++++++----------------------
 auctex.install |   62 +++++++++++++++++++++++++++----------------------------
 2 files changed, 64 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-04 01:57:09 UTC (rev 114771)
+++ PKGBUILD	2014-07-04 01:58:35 UTC (rev 114772)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
-
-pkgname=auctex
-pkgver=11.87
-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')
-install=auctex.install
-source=(http://ftp.gnu.org/pub/gnu/auctex/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('0be92c7d8f89d57346fe07f05a1a045ffd11cd71')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --localstatedir=/var
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make -j1 DESTDIR="${pkgdir}" install
-}

Copied: auctex/repos/community-any/PKGBUILD (from rev 114771, auctex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-07-04 01:58:35 UTC (rev 114772)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=auctex
+pkgver=11.87
+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=('0be92c7d8f89d57346fe07f05a1a045ffd11cd71'
+          'SKIP')
+
+prepare() {
+  cd ${pkgname}-${pkgver}/preview
+  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	2014-07-04 01:57:09 UTC (rev 114771)
+++ auctex.install	2014-07-04 01:58:35 UTC (rev 114772)
@@ -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 114771, auctex/trunk/auctex.install)
===================================================================
--- auctex.install	                        (rev 0)
+++ auctex.install	2014-07-04 01:58:35 UTC (rev 114772)
@@ -0,0 +1,31 @@
+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
+}




More information about the arch-commits mailing list