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

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


    Date: Thursday, April 2, 2020 @ 06:44:50
  Author: remy
Revision: 379083

upgpkg: texlive-bibtexextra 2020.54561-1

TexLive 2020 packaging

Modified:
  texlive-bibtexextra/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 05:10:36 UTC (rev 379082)
+++ PKGBUILD	2020-04-02 06:44:50 UTC (rev 379083)
@@ -2,8 +2,8 @@
 # Maintainer: Rémy Oudompheng <remy at archlinux.org>
 
 pkgname=texlive-bibtexextra
-pkgver=2019.52577
-_revnr=${pkgver#2019.}
+pkgver=2020.54561
+_revnr=${pkgver#2020.}
 pkgrel=1
 pkgdesc="TeX Live - Additional BibTeX styles and bibliography databases"
 license=('GPL')
@@ -12,7 +12,7 @@
 groups=('texlive-most')
 url='https://tug.org/texlive/'
 source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
-sha256sums=('068ca6ea0338a27f57de6cd16a2e13e64f0c594ceae397b41e65a2c4c2d79bb8')
+sha256sums=('cb91736558bb4e2ac5a5dd39af7b102f6f31c0af046d34898fe6afd904c9096b')
 
 build() {
    cd "$srcdir"
@@ -23,21 +23,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 -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
 
    # link programs from /usr/share/texmf-dist/scripts
@@ -55,10 +55,10 @@
 multibibliography/multibibliography.pl
 urlbst/urlbst
 "
-    install -m755 -d $pkgdir/usr/bin
+    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}
+        ln -s /usr/share/texmf-dist/scripts/${_script} "${pkgdir}/usr/bin/${_scriptbase}"
     done
 }



More information about the arch-commits mailing list