summaryrefslogtreecommitdiff
path: root/libre/texlive-core
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-15 16:19:53 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:04 -0300
commit79c0846bed0c90167853e2327c0d51a95d903342 (patch)
tree5160df8a24b92c26c6d262788ca3084caa49e2f8 /libre/texlive-core
parent400202f380cd8966cf38659016bf74ef6f1bcc25 (diff)
downloadabslibre-79c0846bed0c90167853e2327c0d51a95d903342.tar.gz
abslibre-79c0846bed0c90167853e2327c0d51a95d903342.tar.bz2
abslibre-79c0846bed0c90167853e2327c0d51a95d903342.zip
texlive-core-2015.37554-1.parabola1: updating version
Diffstat (limited to 'libre/texlive-core')
-rw-r--r--libre/texlive-core/PKGBUILD38
-rw-r--r--libre/texlive-core/texlive.install12
2 files changed, 30 insertions, 20 deletions
diff --git a/libre/texlive-core/PKGBUILD b/libre/texlive-core/PKGBUILD
index c997c2db9..ea15b7804 100644
--- a/libre/texlive-core/PKGBUILD
+++ b/libre/texlive-core/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 235485 2015-04-06 00:21:47Z remy $
+# $Id: PKGBUILD 245172 2015-09-01 10:40:16Z remy $
# Maintainer (Arch): Rémy Oudompheng <remy@archlinux.org>
# Maintainer: Michał Masłowski <mtjm@mtjm.eu>
# Contributor: André Silva <emulatorman@parabola.nu>
_pkgname=texlive-core-libre
pkgname=texlive-core
-pkgver=2014.36709
-_revnr=${pkgver#2014.}
+pkgver=2015.37554
+_revnr=${pkgver#2015.}
pkgrel=1.parabola1
pkgdesc="TeX Live core distribution, without nonfree add-on packages (Parabola rebranded)"
license=('GPL')
@@ -47,8 +47,8 @@ backup=(etc/texmf/web2c/texmf.cnf \
etc/texmf/web2c/fmtutil.cnf \
etc/texmf/web2c/mktex.cnf \
etc/texmf/xdvi/XDvi)
-mkmd5sums=('c02299998a0e7a26a7e9fff1c16d2f97')
-md5sums=('c9e1624850a79a8d5e9acfcc1cae697b'
+mkmd5sums=('0342ec0740cc11417403efde9c95883d')
+md5sums=('bb781e0187906d6ce04c108717e4a76f'
'54a34f8ddbeccec2427e4d5763349f9b'
'00d2e495f34c4e055b70c0ba13fcd891'
'16ad4dc53deb00029baef1b01ba1d984'
@@ -60,26 +60,24 @@ mksource() {
bsdtar xfv ../$pkgname-$pkgver-src.zip
# remove nonfree packages
- # MeX licensed packages.
+ # MeX licensed packages
rm -v {cc-pl,cs,ec,mex,pl}.tar.xz
- # Public domain, will be relicensed.
+ # public domain, will be relicensed
rm -v context-{account,algorithmic,fixme,games,letter,ruby}.tar.xz
- # No specific free license.
+ # no specific free license
rm -v euro-ce.tar.xz
- # Remove their references from package list.
- sed -ri '/^(cc-pl|cs|ec|mex|pl|context-(account|algorithmic|fixme|games|letter|ruby)|euro-ce) /d' CONTENTS
popd
}
-build() {
+prepare() {
cd $srcdir/$pkgname-$pkgver
echo -n " --> extracting all packages... "
- for p in *.tar.xz; do
+ for p in *.tar.xz; do
bsdtar -xf $p
done
echo "done"
- rm -rf source doc
+ rm -rf {doc,source} || true
# remove nonfree packages references from updmap.cfg
sed -i '/ccpl.map/d' texmf-dist/web2c/updmap.cfg
@@ -100,11 +98,13 @@ build() {
sed -i '/csplain/d' texmf-dist/web2c/fmtutil.cnf
sed -i '/from mex/d' texmf-dist/web2c/fmtutil.cnf
sed -i '/mexconf.tex/d' texmf-dist/web2c/fmtutil.cnf
+
+ # remove nonfree packages references from package list
+ sed -ri '/^(cc-pl|cs|ec|mex|pl|context-(account|algorithmic|fixme|games|letter|ruby)|euro-ce) /d' CONTENTS
}
package() {
cd $srcdir/$pkgname-$pkgver
- # Install packages.
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
@@ -218,14 +218,13 @@ bundledoc/bundledoc
checkcites/checkcites.lua
chktex/chkweb.sh
chktex/deweb.pl
+cjk-gs-integrate/cjk-gs-integrate.pl
context/perl/mptopdf.pl
context/stubs/unix/context
context/stubs/unix/contextjit
-context/stubs/unix/ctxtools
context/stubs/unix/luatools
context/stubs/unix/mtxrun
context/stubs/unix/mtxrunjit
-context/stubs/unix/pstopdf
context/stubs/unix/texexec
context/stubs/unix/texmfstart
ctanify/ctanify
@@ -292,9 +291,9 @@ texlive/allcm.sh
texlive/allneeded.sh
texlive/dvi2fax.sh
texlive/dvired.sh
-texlive/e2pall.sh
+texlive/e2pall.pl
texlive/fmtutil-sys.sh
-texlive/fmtutil.sh
+texlive/fmtutil.pl
texlive/fontinst.sh
texlive/kpsetool.sh
texlive/kpsewhere.sh
@@ -318,8 +317,7 @@ xindy/xindy.pl
for _script in ${_linked_scripts}; do
_scriptbase=$(basename $_script)
_scriptbase=${_scriptbase%.*}
- [[ -f ${pkgdir}/usr/share/texmf-dist/scripts/${_script} ]] &&
- ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase}
+ ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase}
done
ln -s /usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh ${pkgdir}/usr/bin/listings-ext.sh
diff --git a/libre/texlive-core/texlive.install b/libre/texlive-core/texlive.install
index 77d4213be..3b5e32a57 100644
--- a/libre/texlive-core/texlive.install
+++ b/libre/texlive-core/texlive.install
@@ -16,6 +16,12 @@ post_install() {
[ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
echo ">>> texlive: updating the filename database..."
usr/bin/mktexlsr
+ (cd etc/texmf && ../../bin/mtxrun --generate >/dev/null)
+ # We need to remove directory "." from luatex cache to avoid absurd
+ # behaviour.
+ for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
+ grep -F '["root"]="."' "$item" >/dev/null && rm -vf "$item" "${item%.lua}.luc"
+ done
echo ">>> texlive: updating the fontmap files with updmap..."
usr/bin/updmap-sys --quiet --nohash
echo " done."
@@ -38,6 +44,12 @@ post_upgrade() {
[ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
echo ">>> texlive: updating the filename database..."
usr/bin/mktexlsr
+ (cd usr/share/texmf-dist && ../../bin/mtxrun --generate >/dev/null)
+ # We need to remove directory "." from luatex cache to avoid absurd
+ # behaviour.
+ for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
+ grep -F '["root"]="."' "$item" >/dev/null && rm -vf "$item" "${item%.lua}.luc"
+ done
echo ">>> texlive: updating the fontmap files with updmap..."
usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
echo " done."