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

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


    Date: Thursday, April 2, 2020 @ 06:55:20
  Author: remy
Revision: 379119

upgpkg: texlive-publishers 2020.54589-1

TL2020 update

Modified:
  texlive-publishers/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 06:55:09 UTC (rev 379118)
+++ PKGBUILD	2020-04-02 06:55:20 UTC (rev 379119)
@@ -2,8 +2,8 @@
 # Maintainer: Rémy Oudompheng <remy at archlinux.org>
 
 pkgname=texlive-publishers
-pkgver=2019.52538
-_revnr=${pkgver#2019.}
+pkgver=2020.54589
+_revnr=${pkgver#2020.}
 pkgrel=1
 pkgdesc="TeX Live - LaTeX classes and packages for specific publishers"
 license=('GPL')
@@ -13,7 +13,7 @@
 url='http://tug.org/texlive/'
 source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
 options=('!emptydirs')
-sha256sums=('87b6d240055f39ec1999fc67b90ac1bb90f866ee767ffc1e519a475ec9353364')
+sha256sums=('14a1d02ba150c332b48f7fb86e23fb1aa83094c471f964caf40e02fb28688fbf')
 
 build() {
    cd "$srcdir"
@@ -24,20 +24,20 @@
 }
 
 package() {
-   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 -m755 -d $pkgdir/usr/share
+   install -m644 CONTENTS "$pkgdir"/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs
+   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
 }


More information about the arch-commits mailing list