Date: Tuesday, June 20, 2017 @ 06:07:45
  Author: remy
Revision: 299014

archrelease: copy trunk to testing-any

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

--------------------------+
 PKGBUILD                 |   45 +++++++++++++++++++++++++++++++++++++++++++++
 texlive-langchinese.maps |    4 ++++
 2 files changed, 49 insertions(+)

Copied: texlive-langchinese/repos/testing-any/PKGBUILD (from rev 299013, 
texlive-langchinese/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2017-06-20 06:07:45 UTC (rev 299014)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <r...@archlinux.org>
+
+pkgname=texlive-langchinese
+pkgver=2017.44333
+_revnr=${pkgver#2017.}
+pkgrel=1
+pkgdesc="TeX Live - Fonts and macro packages to typeset Chinese 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=('57acfcca98d1dfb300bff92be808d487a167957d3c59c2ba1cebb5afd1b6e18f'
+            'c8cc529153bc1db3b13ef5973a6f36161f89cf05bac695fa2d2eab1a75345195')
+
+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
+}

Copied: texlive-langchinese/repos/testing-any/texlive-langchinese.maps (from 
rev 299013, texlive-langchinese/trunk/texlive-langchinese.maps)
===================================================================
--- testing-any/texlive-langchinese.maps                                (rev 0)
+++ testing-any/texlive-langchinese.maps        2017-06-20 06:07:45 UTC (rev 
299014)
@@ -0,0 +1,4 @@
+Map bkaiu.map
+Map bsmiu.map
+Map gbsnu.map
+Map gkaiu.map

Reply via email to