[arch-commits] Commit in texlive-langkorean/repos (3 files)

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


    Date: Thursday, April 2, 2020 @ 06:53:34
  Author: remy
Revision: 379108

archrelease: copy trunk to testing-any

Added:
  texlive-langkorean/repos/testing-any/
  texlive-langkorean/repos/testing-any/PKGBUILD
    (from rev 379107, texlive-langkorean/trunk/PKGBUILD)
  texlive-langkorean/repos/testing-any/texlive-langkorean.maps
    (from rev 379107, texlive-langkorean/trunk/texlive-langkorean.maps)

-------------------------+
 PKGBUILD                |   57 ++++++++++++++++++++++++++++++++++++++++++++++
 texlive-langkorean.maps |    2 +
 2 files changed, 59 insertions(+)

Copied: texlive-langkorean/repos/testing-any/PKGBUILD (from rev 379107, texlive-langkorean/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-04-02 06:53:34 UTC (rev 379108)
@@ -0,0 +1,57 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=texlive-langkorean
+pkgver=2020.54519
+_revnr=${pkgver#2020.}
+pkgrel=1
+pkgdesc="TeX Live - Fonts and macro packages to typeset Korean texts"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-lang')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps")
+options=('!emptydirs')
+sha256sums=('dfc1e1434bbc10442009e9c3e28609ae45aeda96930df899d365eea38423f66e'
+            'd948fbcd015ca101eb2ccf197f5a835e864a0c9b6be638de8355444ced378a9b')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+	   bsdtar -xf $p
+   done
+   rm -rf tlpkg
+}
+
+package() {
+   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
+   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/'{}' \;
+   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/'{}' \;
+   fi
+   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
+    _linked_scripts="
+kotex-utils/jamo-normalize.pl
+kotex-utils/komkindex.pl
+kotex-utils/ttf2kotexfont.pl
+"
+    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}"
+    done
+}

Copied: texlive-langkorean/repos/testing-any/texlive-langkorean.maps (from rev 379107, texlive-langkorean/trunk/texlive-langkorean.maps)
===================================================================
--- testing-any/texlive-langkorean.maps	                        (rev 0)
+++ testing-any/texlive-langkorean.maps	2020-04-02 06:53:34 UTC (rev 379108)
@@ -0,0 +1,2 @@
+Map nanumfonts.map
+Map umj.map



More information about the arch-commits mailing list