Date: Saturday, December 1, 2018 @ 20:17:58 Author: remy Revision: 340927
archrelease: copy trunk to extra-any Added: texlive-publishers/repos/extra-any/PKGBUILD (from rev 340926, texlive-publishers/trunk/PKGBUILD) Deleted: texlive-publishers/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 87 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-01 20:17:56 UTC (rev 340926) +++ PKGBUILD 2018-12-01 20:17:58 UTC (rev 340927) @@ -1,44 +0,0 @@ -# $Id: PKGBUILD$ -# Maintainer: Firmicus <firmicus āt gmx dōt net> -# Maintainer: Rémy Oudompheng <r...@archlinux.org> - -pkgname=texlive-publishers -pkgver=2018.48567 -_revnr=${pkgver#2018.} -pkgrel=1 -pkgdesc="TeX Live - LaTeX classes and packages for specific publishers" -license=('GPL') -arch=(any) -depends=('texlive-core') -groups=('texlive-most') -url='http://tug.org/texlive/' -source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip") -options=('!emptydirs') -sha256sums=('6e33cc0dd93a7065f8cdbc4a3f2a8e52aa3dc0cbbf2ac9c2abb7c6d0552ccbcb') - -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 -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-publishers/repos/extra-any/PKGBUILD (from rev 340926, texlive-publishers/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-01 20:17:58 UTC (rev 340927) @@ -0,0 +1,43 @@ +# Maintainer: Firmicus <firmicus āt gmx dōt net> +# Maintainer: Rémy Oudompheng <r...@archlinux.org> + +pkgname=texlive-publishers +pkgver=2018.49284 +_revnr=${pkgver#2018.} +pkgrel=1 +pkgdesc="TeX Live - LaTeX classes and packages for specific publishers" +license=('GPL') +arch=(any) +depends=('texlive-core') +groups=('texlive-most') +url='http://tug.org/texlive/' +source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip") +options=('!emptydirs') +sha256sums=('1e5b9ecae925befe5e21f5cebbd4a65b26266b52b660611471536c2aaa0b180f') + +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 -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 +}