[arch-commits] Commit in texlive-latexextra/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Tue Sep 1 10:30:55 UTC 2015
Date: Tuesday, September 1, 2015 @ 12:30:55
Author: remy
Revision: 245142
upgpkg: texlive-latexextra 2015.37553-1
Update to TeXLive 2015
Modified:
texlive-latexextra/trunk/PKGBUILD
----------+
PKGBUILD | 45 ++++++++++++++++++++++++++++-----------------
1 file changed, 28 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-01 10:30:20 UTC (rev 245141)
+++ PKGBUILD 2015-09-01 10:30:55 UTC (rev 245142)
@@ -3,8 +3,8 @@
# Maintainer: Rémy Oudompheng <remy at archlinux.org>
pkgname=texlive-latexextra
-pkgver=2014.36706
-_revnr=${pkgver#2014.}
+pkgver=2015.37553
+_revnr=${pkgver#2015.}
pkgrel=1
pkgdesc="TeX Live - Large collection of add-on packages for LaTeX"
license=('GPL')
@@ -22,7 +22,7 @@
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps")
options=('!emptydirs')
install=texlive.install
-md5sums=('b4c3e4311a0989df0dbdc2fcb21409f3'
+md5sums=('456518aa966d23306dfbf23d33fa940a'
'017fc9ed83747aa8884ca9ae0767531f')
build() {
@@ -31,6 +31,7 @@
done
rm -rf {tlpkg,doc,source} || true
}
+
package() {
install -m755 -d "$pkgdir"/var/lib/texmf/arch/installedpkgs
sed -i '/^#/d' CONTENTS
@@ -49,18 +50,28 @@
if [[ -d "$pkgdir"/usr/share/texmf-dist/scripts ]]; then
find "$pkgdir"/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
fi
- #add symlinks that were in texlive-bin:
- install -m755 -d "$pkgdir"/usr/bin
- ln -s /usr/share/texmf-dist/scripts/authorindex/authorindex "$pkgdir"/usr/bin/authorindex
- ln -s /usr/share/texmf-dist/scripts/exceltex/exceltex "$pkgdir"/usr/bin/exceltex
- ln -s /usr/share/texmf-dist/scripts/glossaries/makeglossaries "$pkgdir"/usr/bin/makeglossaries
- ln -s /usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl "$pkgdir"/usr/bin/pdfannotextractor
- ln -s /usr/share/texmf-dist/scripts/perltex/perltex.pl "$pkgdir"/usr/bin/perltex
- ln -s /usr/share/texmf-dist/scripts/pst-pdf/ps4pdf "$pkgdir"/usr/bin/ps4pdf
- ln -s /usr/share/texmf-dist/scripts/splitindex/splitindex.pl "$pkgdir"/usr/bin/splitindex
- ln -s /usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl "$pkgdir"/usr/bin/svn-multi
- ln -s /usr/share/texmf-dist/scripts/vpe/vpe.pl "$pkgdir"/usr/bin/vpe
- rm "$pkgdir"/usr/share/texmf-dist/scripts/glossaries/makeglossaries.bat
- rm "$pkgdir"/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf.bat*
- rm "$pkgdir"/usr/share/texmf-dist/scripts/shipunov/biokey2html.bat
+
+ #add symlinks that were in texlive-bin:
+ _linked_scripts="
+authorindex/authorindex
+exceltex/exceltex
+glossaries/makeglossaries
+pax/pdfannotextractor.pl
+perltex/perltex.pl
+pst-pdf/ps4pdf
+splitindex/splitindex.pl
+svn-multi/svn-multi.pl
+vpe/vpe.pl
+yplan/yplan
+"
+ install -m755 -d "$pkgdir"/usr/bin
+ for _script in ${_linked_scripts}; do
+ _scriptbase=$(basename $_script)
+ _scriptbase=${_scriptbase%.*}
+ ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase}
+ done
+
+ rm "$pkgdir"/usr/share/texmf-dist/scripts/glossaries/makeglossaries.bat
+ rm "$pkgdir"/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf.bat*
+ rm "$pkgdir"/usr/share/texmf-dist/scripts/shipunov/biokey2html.bat
}
More information about the arch-commits
mailing list