[arch-commits] Commit in texlive-science/trunk (PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Thu Apr 2 06:55:39 UTC 2020


    Date: Thursday, April 2, 2020 @ 06:55:38
  Author: remy
Revision: 379121

upgpkg: texlive-science 2020.54588-1

TL2020 update

Modified:
  texlive-science/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 06:55:23 UTC (rev 379120)
+++ PKGBUILD	2020-04-02 06:55:38 UTC (rev 379121)
@@ -1,8 +1,8 @@
 # Maintainer: Rémy Oudompheng <remy at archlinux.org>
 
 pkgname=texlive-science
-pkgver=2019.52582
-_revnr=${pkgver#2019.}
+pkgver=2020.54588
+_revnr=${pkgver#2020.}
 pkgrel=1
 pkgdesc="TeX Live - Typesetting for mathematics, natural and computer sciences"
 license=('GPL')
@@ -14,7 +14,7 @@
         "$pkgname.maps"
         "$pkgname.fmts")
 options=('!emptydirs')
-sha256sums=('ac5a5d327e374439d3850260d212ce003bcd11ecb662f5abc2ec62259ceb3992'
+sha256sums=('4d03ec38b71f09eacbeefa35e56303b735120b2379c7f848f3fc6db090e9a858'
             '1d9151c9cabc3521b4406731b0147d80e0bf600bdedaf55a1a49b8775165daa8'
             '1cbd5339f8cfa32214a749a408cf7136fd5acffaffcde6500a337d332c70c5c3')
 
@@ -28,24 +28,24 @@
 
 package() {
    cd "$srcdir"
-   install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs
+   install -m755 -d "$pkgdir"/var/lib/texmf/arch/installedpkgs
    sed -i '/^#/d' CONTENTS
-   install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs
-   install -m644 $pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/
-   install -m644 $pkgname.fmts $pkgdir/var/lib/texmf/arch/installedpkgs/
-   install -m755 -d $pkgdir/usr/share
+   install -m644 CONTENTS "$pkgdir"/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs
+   install -m644 $pkgname.maps "$pkgdir"/var/lib/texmf/arch/installedpkgs/
+   install -m644 $pkgname.fmts "$pkgdir"/var/lib/texmf/arch/installedpkgs/
+   install -m755 -d "$pkgdir"/usr/share
    wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
    for dir in $wanteddirs; do
-     find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \;
-     find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \;
+     find $dir -type d -exec install -d -m755 "$pkgdir"/usr/share/texmf-dist/'{}' \;
+     find $dir -type f -exec install -m644 '{}' "$pkgdir"/usr/share/texmf-dist/'{}' \;
    done
    if [[ -d texmf-dist ]]; then
-     find texmf-dist -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \;
-     find texmf-dist -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \;
+     find texmf-dist -type d -exec install -d -m755 "$pkgdir"/usr/share/'{}' \;
+     find texmf-dist -type f -exec install -m644 '{}' "$pkgdir"/usr/share/'{}' \;
    fi
-   if [[ -d $pkgdir/usr/share/texmf-dist/scripts ]]; then
-     find $pkgdir/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
+   if [[ -d "$pkgdir"/usr/share/texmf-dist/scripts ]]; then
+     find "$pkgdir"/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
    fi
-   install -m755 -d $pkgdir/usr/bin
-   ln -s /usr/share/texmf-dist/scripts/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda
+   install -m755 -d "$pkgdir"/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/ulqda/ulqda.pl "$pkgdir"/usr/bin/ulqda
 }



More information about the arch-commits mailing list