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

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


    Date: Thursday, April 2, 2020 @ 06:52:47
  Author: remy
Revision: 379104

archrelease: copy trunk to testing-any

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

------------------------+
 PKGBUILD               |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 texlive-langgreek.maps |    5 +++++
 2 files changed, 52 insertions(+)

Copied: texlive-langgreek/repos/testing-any/PKGBUILD (from rev 379103, texlive-langgreek/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-04-02 06:52:47 UTC (rev 379104)
@@ -0,0 +1,47 @@
+# Maintainer: Firmicus <firmicus āt gmx dōt net>
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=texlive-langgreek
+pkgver=2020.54512
+_revnr=${pkgver#2020.}
+pkgrel=1
+pkgdesc="TeX Live - Fonts and support for typesetting Greek"
+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=('72c7c9b7ab23df11edf2ec2430a97d8a45885316ccbcfa7bc62684b3f2e9188b'
+            '1d808532a77ad46260660e87b74de23403ffdd51ca76d14a406d5719e4e02f26')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+	   bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+}
+
+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
+   install -m755 -d "$pkgdir"/usr/bin
+   ln -s /usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex "$pkgdir"/usr/bin/mkgrkindex
+}

Copied: texlive-langgreek/repos/testing-any/texlive-langgreek.maps (from rev 379103, texlive-langgreek/trunk/texlive-langgreek.maps)
===================================================================
--- testing-any/texlive-langgreek.maps	                        (rev 0)
+++ testing-any/texlive-langgreek.maps	2020-04-02 06:52:47 UTC (rev 379104)
@@ -0,0 +1,5 @@
+Map gfsbaskerville.map
+Map gfsporson.map
+Map kerkis.map
+MixedMap cbgreek-full.map
+MixedMap iby.map



More information about the arch-commits mailing list