[arch-commits] Commit in texlive-humanities/repos/extra-any (PKGBUILD PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Sun Dec 6 10:05:49 UTC 2020
Date: Sunday, December 6, 2020 @ 10:05:49
Author: remy
Revision: 402930
archrelease: copy trunk to extra-any
Added:
texlive-humanities/repos/extra-any/PKGBUILD
(from rev 402929, texlive-humanities/trunk/PKGBUILD)
Deleted:
texlive-humanities/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-06 10:05:47 UTC (rev 402929)
+++ PKGBUILD 2020-12-06 10:05:49 UTC (rev 402930)
@@ -1,46 +0,0 @@
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-
-pkgname=texlive-humanities
-pkgver=2020.55389
-_revnr=${pkgver#2020.}
-pkgrel=1
-pkgdesc="TeX Live - LaTeX packages for law, linguistics, social sciences, and humanities"
-license=('GPL')
-arch=(any)
-depends=('texlive-core' 'texlive-latexextra')
-optdepends=('texlive-pictures: for package qtree')
-groups=('texlive-most')
-url='http://tug.org/texlive/'
-source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
-options=('!emptydirs')
-sha256sums=('528bc27a2ba5410a76d4ab509b97d0ea87038fde1b65f4254fb0d94805c1f3e5')
-
-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
-
- install -m755 -d "$pkgdir"/usr/bin
- ln -s /usr/share/texmf-dist/scripts/diadia/diadia.lua "${pkgdir}"/usr/bin/diadia
-}
Copied: texlive-humanities/repos/extra-any/PKGBUILD (from rev 402929, texlive-humanities/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-06 10:05:49 UTC (rev 402930)
@@ -0,0 +1,46 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=texlive-humanities
+pkgver=2020.57034
+_revnr=${pkgver#2020.}
+pkgrel=1
+pkgdesc="TeX Live - LaTeX packages for law, linguistics, social sciences, and humanities"
+license=('GPL')
+arch=(any)
+depends=('texlive-core' 'texlive-latexextra')
+optdepends=('texlive-pictures: for package qtree')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
+options=('!emptydirs')
+sha256sums=('9eecd63565d7ab550fa7f82f10f4f1bbb523c501e987c3eef051426e5927ed70')
+
+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
+
+ install -m755 -d "$pkgdir"/usr/bin
+ ln -s /usr/share/texmf-dist/scripts/diadia/diadia.lua "${pkgdir}"/usr/bin/diadia
+}
More information about the arch-commits
mailing list