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

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


    Date: Thursday, April 2, 2020 @ 06:52:16
  Author: remy
Revision: 379101

upgpkg: texlive-langextra 2020.54554-1

TL2020 update

Modified:
  texlive-langextra/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 06:51:58 UTC (rev 379100)
+++ PKGBUILD	2020-04-02 06:52:16 UTC (rev 379101)
@@ -2,8 +2,8 @@
 # Maintainer: Rémy Oudompheng <remy at archlinux.org>
 
 pkgname=texlive-langextra
-pkgver=2019.52581
-_revnr=${pkgver#2019.}
+pkgver=2020.54554
+_revnr=${pkgver#2020.}
 pkgrel=1
 pkgdesc="TeX Live - Bundle of all extra language support"
 license=('GPL')
@@ -21,7 +21,7 @@
 url='http://tug.org/texlive/'
 source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps")
 options=('!emptydirs')
-sha256sums=('1a878e72ee7a9f0fcacb242648c5abd3f8adfe0055991d663f2218a17255f9ae'
+sha256sums=('ea8c61d8cc37c94bddff4c4a0a56de8c05845a32bec6237720fe804cb499057a'
             '5f7941ded76d37cf8d6d644edfb206345557905fee38e18ada0b3b98f8a8c0f7')
 
 build() {
@@ -34,24 +34,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 -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
    #remove parts of ethiop that depend on Omega:
-   rm -rf $pkgdir/usr/share/texmf-dist/fonts/{ofm,ovf,ovp}
-   rm -rf $pkgdir/usr/share/texmf-dist/omega
+   rm -rf "$pkgdir"/usr/share/texmf-dist/fonts/{ofm,ovf,ovp}
+   rm -rf "$pkgdir"/usr/share/texmf-dist/omega
 }



More information about the arch-commits mailing list