summaryrefslogtreecommitdiff
path: root/libre/texlive-core-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-02 17:39:02 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-02 17:39:02 -0300
commit46838b2b7c55d12f5266ebee5c78e382fe69c2fa (patch)
treee769613cebd0d4c42c45c6b0b97eb732dd11dfdd /libre/texlive-core-libre
parente7e8e99255f2b46c3ca11c9d1b89ea831dbd0372 (diff)
texlive-core-libre-2013.31589-1.1: fix https://labs.parabola.nu/issues/415
Diffstat (limited to 'libre/texlive-core-libre')
-rw-r--r--libre/texlive-core-libre/PKGBUILD22
1 files changed, 21 insertions, 1 deletions
diff --git a/libre/texlive-core-libre/PKGBUILD b/libre/texlive-core-libre/PKGBUILD
index 03a2f994e..3c51d57cd 100644
--- a/libre/texlive-core-libre/PKGBUILD
+++ b/libre/texlive-core-libre/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=texlive-core-libre
_pkgname=texlive-core
pkgver=2013.31589
_revnr=${pkgver#2013.}
-pkgrel=1
+pkgrel=1.1
pkgdesc="TeX Live core distribution, without nonfree add-on packages (Parabola rebranded)"
license=('GPL')
arch=(any)
@@ -67,6 +67,26 @@ build() {
done
echo "done"
rm -rf {tlpkg,doc,source,omega} || true
+
+ # remove nonfree packages from updmap.cfg
+ sed -i '/ccpl.map/d' texmf-dist/web2c/updmap.cfg
+ sed -i '/cs-charter.map/d' texmf-dist/web2c/updmap.cfg
+ sed -i '/csfonts.map/d' texmf-dist/web2c/updmap.cfg
+ sed -i '/plother.map/d' texmf-dist/web2c/updmap.cfg
+ sed -i '/pltext.map/d' texmf-dist/web2c/updmap.cfg
+
+ # remove nonfree packages from texlive-core.maps
+ sed -i '/ccpl.map/d' texlive-core.maps
+ sed -i '/cs-charter.map/d' texlive-core.maps
+ sed -i '/csfonts.map/d' texlive-core.maps
+ sed -i '/plother.map/d' texlive-core.maps
+ sed -i '/pltext.map/d' texlive-core.maps
+
+ # remove nonfree packages from fmtutil.cnf
+ sed -i '/cslatex/d' texmf-dist/web2c/fmtutil.cnf
+ 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
}
package() {