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

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


    Date: Thursday, April 2, 2020 @ 06:51:32
  Author: remy
Revision: 379097

upgpkg: texlive-langchinese 2020.54490-1

TL2020 update

Modified:
  texlive-langchinese/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 06:51:13 UTC (rev 379096)
+++ PKGBUILD	2020-04-02 06:51:32 UTC (rev 379097)
@@ -1,8 +1,8 @@
 # Maintainer: Rémy Oudompheng <remy at archlinux.org>
 
 pkgname=texlive-langchinese
-pkgver=2019.52237
-_revnr=${pkgver#2019.}
+pkgver=2020.54490
+_revnr=${pkgver#2020.}
 pkgrel=1
 pkgdesc="TeX Live - Fonts and macro packages to typeset Chinese texts"
 license=('GPL')
@@ -12,7 +12,7 @@
 url='http://tug.org/texlive/'
 source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps")
 options=('!emptydirs')
-sha256sums=('0066adc5d2ae2f1613a310ee714f3e830c19b5d899b31340696767aff100ac6e'
+sha256sums=('46a446769b49575a9164871b3d5eab7fd528c92150895c7722b9f09fb82f3225'
             'c8cc529153bc1db3b13ef5973a6f36161f89cf05bac695fa2d2eab1a75345195')
 
 build() {
@@ -24,21 +24,21 @@
 }
 
 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 -m644 $pkgname.maps $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 -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