summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to '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() {