[arch-commits] Commit in texlive-games/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Thu Apr 2 06:50:30 UTC 2020
Date: Thursday, April 2, 2020 @ 06:50:30
Author: remy
Revision: 379093
upgpkg: texlive-games 2020.54512-1
TL2020 update
Modified:
texlive-games/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-02 06:49:27 UTC (rev 379092)
+++ PKGBUILD 2020-04-02 06:50:30 UTC (rev 379093)
@@ -2,8 +2,8 @@
# Maintainer: Firmicus <firmicus āt gmx dōt net>
pkgname=texlive-games
-pkgver=2019.52525
-_revnr=${pkgver#2019.}
+pkgver=2020.54512
+_revnr=${pkgver#2020.}
pkgrel=1
pkgdesc="TeX Live - Setups for typesetting various board games, including chess"
license=('GPL')
@@ -13,7 +13,7 @@
url='http://tug.org/texlive/'
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps")
options=('!emptydirs')
-sha256sums=('7cf8596186df737682b961d94ec13e876587114ece3c9bbe9518671215bea7eb'
+sha256sums=('d3c5639183b96f9b7a8e3d7ff2ec5b0203fcba80b84746ed5f29fd759c1a5476'
'a4e19b3d6cf8701565d8732c0ff3ee037510b6fb3af53257311bf0731112d72b')
build() {
@@ -26,23 +26,23 @@
package() {
cd "$srcdir"
- install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs
+ 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
+ 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/'{}' \;
+ 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/'{}' \;
+ 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 '{}' \;
+ 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/rubik/rubikrotation.pl $pkgdir/usr/bin/rubikrotation
+ install -m755 -d "$pkgdir"/usr/bin
+ ln -s /usr/share/texmf-dist/scripts/rubik/rubikrotation.pl "$pkgdir"/usr/bin/rubikrotation
}
More information about the arch-commits
mailing list