[arch-commits] Commit in texlive-langkorean/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Thu Apr 2 06:53:31 UTC 2020
Date: Thursday, April 2, 2020 @ 06:53:31
Author: remy
Revision: 379107
upgpkg: texlive-langkorean 2020.54519-1
TL2020 update
Modified:
texlive-langkorean/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-02 06:53:11 UTC (rev 379106)
+++ PKGBUILD 2020-04-02 06:53:31 UTC (rev 379107)
@@ -1,8 +1,8 @@
# Maintainer: Rémy Oudompheng <remy at archlinux.org>
pkgname=texlive-langkorean
-pkgver=2019.51035
-_revnr=${pkgver#2019.}
+pkgver=2020.54519
+_revnr=${pkgver#2020.}
pkgrel=1
pkgdesc="TeX Live - Fonts and macro packages to typeset Korean 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=('15fcf89d9fa7260d1a6514e581532324cd3cb521af7ddd41b7305f0e04395972'
+sha256sums=('dfc1e1434bbc10442009e9c3e28609ae45aeda96930df899d365eea38423f66e'
'd948fbcd015ca101eb2ccf197f5a835e864a0c9b6be638de8355444ced378a9b')
build() {
@@ -24,22 +24,22 @@
}
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
# scripts links
@@ -48,10 +48,10 @@
kotex-utils/komkindex.pl
kotex-utils/ttf2kotexfont.pl
"
- 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