[arch-commits] Commit in texlive-pictures/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Thu Apr 2 06:54:57 UTC 2020
Date: Thursday, April 2, 2020 @ 06:54:56
Author: remy
Revision: 379115
upgpkg: texlive-pictures 2020.54512-1
TL2020 update
Modified:
texlive-pictures/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-02 06:54:29 UTC (rev 379114)
+++ PKGBUILD 2020-04-02 06:54:56 UTC (rev 379115)
@@ -1,8 +1,8 @@
# Maintainer: Rémy Oudompheng <remy at archlinux.org>
pkgname=texlive-pictures
-pkgver=2019.52499
-_revnr=${pkgver#2019.}
+pkgver=2020.54512
+_revnr=${pkgver#2020.}
pkgrel=1
pkgdesc="TeX Live - Packages for drawings graphics"
license=('GPL')
@@ -14,7 +14,7 @@
"$pkgname.maps"
"xypdf-rev1.21.patch")
options=('!emptydirs')
-sha256sums=('834d7ee1a7877ce7aceacfd4fd7745de3a167cb1fcd57194edfa2c4cd419e1be'
+sha256sums=('39b20d91749bd43ab25ad19f1dccf047c1810f5014ca5f438ab5b014aaa69f77'
'847676e2322065219992ef249a68cddb26d71e192e8d59db58f264c5e11c8be9'
'4e5cedf4775542461b442c06bdabb3eb4e20a04f54e493bc753a958577e78175')
@@ -30,22 +30,22 @@
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
_linked_scripts="
@@ -58,10 +58,10 @@
mkpic/mkpic
petri-nets/pn2pdf
"
- 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