diff options
author | Josiah Schwab | 2016-11-12 11:19:29 -0800 |
---|---|---|
committer | Josiah Schwab | 2016-11-12 11:19:29 -0800 |
commit | de4134f64832dea883ed71637aaf09ee00630ed5 (patch) | |
tree | 1577105a5680fc5e64d7dfcac3c062122d8c5f8e | |
parent | f7ffabbc260512670656c26610b7bce058776a5a (diff) | |
download | aur-de4134f64832dea883ed71637aaf09ee00630ed5.tar.gz |
Update package to version 6.1 (incl. Linux workaround)
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | 0001-Apply-temporary-Linux-work-around-for-V6.1.patch | 30 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | texlive-aastex6.install | 4 |
4 files changed, 59 insertions, 16 deletions
@@ -1,17 +1,19 @@ pkgbase = texlive-aastex6 pkgdesc = Package for preparing papers in American Astronomical Society (AAS) journals - pkgver = 1.0 - pkgrel = 3 + pkgver = 6.1 + pkgrel = 1 url = http://journals.aas.org/authors/aastex.html install = texlive-aastex6.install arch = i686 arch = x86_64 depends = texlive-core provides = texlive-aastex6 - source = http://journals.aas.org/authors/aastex/aastex6.cls + source = http://journals.aas.org/authors/aastex/aastex61.cls source = http://journals.aas.org/authors/aastex/aasjournal.bst - sha1sums = f80e893e9d75b2e8c10fc08db613334e152f2bfa - sha1sums = bea068ae11acc248b75b5861e7a3915cc2dfc735 + source = 0001-Apply-temporary-Linux-work-around-for-V6.1.patch + sha1sums = 94971eeff1130bb9a5632e985d0ba514fe5cb9ed + sha1sums = 693276c5dd1ac4111a696088aea4a79534c77620 + sha1sums = 23d0182902fdb062ff14fb3b87ee4a8665bb4975 pkgname = texlive-aastex6 diff --git a/0001-Apply-temporary-Linux-work-around-for-V6.1.patch b/0001-Apply-temporary-Linux-work-around-for-V6.1.patch new file mode 100644 index 000000000000..b180293aa03e --- /dev/null +++ b/0001-Apply-temporary-Linux-work-around-for-V6.1.patch @@ -0,0 +1,30 @@ +From 9cc9f4b6f91293d69ecc334c222691c6775722c1 Mon Sep 17 00:00:00 2001 +From: Josiah Schwab <jschwab@gmail.com> +Date: Sat, 12 Nov 2016 10:38:49 -0800 +Subject: [PATCH] Apply temporary Linux work around for V6.1 + +http://journals.aas.org/authors/aastex/linux.html +--- + aastex61.cls | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/aastex61.cls b/aastex61.cls +index 41adeb1..563ac9a 100644 +--- a/aastex61.cls ++++ b/aastex61.cls +@@ -6318,9 +6318,9 @@ width 0pt\relax\fi}}} + }% + + +-%% get rid of \jobname Notes being sent to .aux file: +-\let\bibdata@app\relax +-\def\pre@bibdata{} ++% %% get rid of \jobname Notes being sent to .aux file: ++% \let\bibdata@app\relax ++% \def\pre@bibdata{} + + \def\frontmatter@author@produce@script{% + \begingroup +-- +2.10.2 + @@ -3,24 +3,35 @@ pkgname=texlive-aastex6 pkgdesc="Package for preparing papers in American Astronomical Society (AAS) journals " -pkgver=1.0 -pkgrel=3 +pkgver=6.1 +pkgrel=1 arch=('i686' 'x86_64') url="http://journals.aas.org/authors/aastex.html" depends=('texlive-core') provides=('texlive-aastex6') install=texlive-aastex6.install -source=('http://journals.aas.org/authors/aastex/aastex6.cls' - 'http://journals.aas.org/authors/aastex/aasjournal.bst') -sha1sums=('f80e893e9d75b2e8c10fc08db613334e152f2bfa' - 'bea068ae11acc248b75b5861e7a3915cc2dfc735') +source=('http://journals.aas.org/authors/aastex/aastex61.cls' + 'http://journals.aas.org/authors/aastex/aasjournal.bst' + '0001-Apply-temporary-Linux-work-around-for-V6.1.patch') +sha1sums=('94971eeff1130bb9a5632e985d0ba514fe5cb9ed' + '693276c5dd1ac4111a696088aea4a79534c77620' + '23d0182902fdb062ff14fb3b87ee4a8665bb4975') + + +prepare() { + + # apply suggested Linux workaround + patch -Np1 --follow-symlinks -i "$srcdir/0001-Apply-temporary-Linux-work-around-for-V6.1.patch" + +} + package() { + cd "$srcdir" - # install current files (v3) - install -Dm644 aastex6.cls $pkgdir/usr/share/texmf-dist/tex/latex/aastex6/aastex6.cls + # install current files + install -Dm644 aastex61.cls $pkgdir/usr/share/texmf-dist/tex/latex/aastex6/aastex61.cls install -Dm644 aasjournal.bst $pkgdir/usr/share/texmf-dist/bibtex/bst/aastex6/aasjournal.bst - } diff --git a/texlive-aastex6.install b/texlive-aastex6.install index d74fd61a62e4..1a5f8d7d663b 100644 --- a/texlive-aastex6.install +++ b/texlive-aastex6.install @@ -2,8 +2,8 @@ post_install() { post_remove echo "The aasjournal.bst file was installed in:" kpsewhich aasjournal.bst - echo "The aastex6.cls file was installed in:" - kpsewhich aastex6.cls + echo "The aastex61.cls file was installed in:" + kpsewhich aastex61.cls } post_upgrade() { |