[arch-commits] Commit in texlive-langkorean/repos (3 files)
Rémy Oudompheng
remy at gemini.archlinux.org
Sun Apr 17 09:46:21 UTC 2022
Date: Sunday, April 17, 2022 @ 09:46:20
Author: remy
Revision: 442859
archrelease: copy trunk to testing-any
Added:
texlive-langkorean/repos/testing-any/
texlive-langkorean/repos/testing-any/PKGBUILD
(from rev 442858, texlive-langkorean/trunk/PKGBUILD)
texlive-langkorean/repos/testing-any/texlive-langkorean.maps
(from rev 442858, 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 442858, texlive-langkorean/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2022-04-17 09:46:20 UTC (rev 442859)
@@ -0,0 +1,57 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=texlive-langkorean
+pkgver=2022.63005
+_revnr=${pkgver#2022.}
+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=('d3e326d8db7ae1e18d29ed49568c6aaab5b151603a63b740fb0d35a793980a88'
+ '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 442858, texlive-langkorean/trunk/texlive-langkorean.maps)
===================================================================
--- testing-any/texlive-langkorean.maps (rev 0)
+++ testing-any/texlive-langkorean.maps 2022-04-17 09:46:20 UTC (rev 442859)
@@ -0,0 +1,2 @@
+Map nanumfonts.map
+Map umj.map
More information about the arch-commits
mailing list