summaryrefslogtreecommitdiff
path: root/libre/texlive-core/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/texlive-core/PKGBUILD')
-rw-r--r--libre/texlive-core/PKGBUILD85
1 files changed, 66 insertions, 19 deletions
diff --git a/libre/texlive-core/PKGBUILD b/libre/texlive-core/PKGBUILD
index 7e7e9cc16..f38aac735 100644
--- a/libre/texlive-core/PKGBUILD
+++ b/libre/texlive-core/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 281688 2016-11-21 06:23:47Z remy $
# Maintainer (Arch): Rémy Oudompheng <remy@archlinux.org>
# Contributor (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Maintainer: Michał Masłowski <mtjm@mtjm.eu>
+# Contributor: Isaac David <isacdaavid@at@isacdaavid@dot@info>
_pkgname=texlive-core-libre
pkgname=texlive-core
-pkgver=2016.43757
-_revnr=${pkgver#2016.}
+pkgver=2017.44918
+_revnr=${pkgver#2017.}
pkgrel=1.parabola1
pkgdesc="TeX Live core distribution, without nonfree add-on packages (Parabola rebranded)"
license=('GPL')
@@ -24,18 +24,44 @@ optdepends=(
't1utils: can be useful when installing Type1 fonts'
)
groups=('texlive-most')
-conflicts=('tetex' 'texlive-latex3' 'pdfjam' 'texlive-core-libre')
-provides=('tetex' 'texlive-latex3' 'pdfjam')
-replaces=('tetex' 'texlive-latex3' 'pdfjam' 'texlive-core-libre')
+conflicts=('tetex' 'texlive-latex3' 'pdfjam'
+ 'texlive-genericextra'
+ 'texlive-plainextra'
+ 'texlive-core-libre')
+provides=('tetex' 'texlive-latex3' 'pdfjam'
+ 'texlive-genericextra'
+ 'texlive-plainextra')
+replaces=('tetex' 'texlive-latex3' 'pdfjam'
+ 'texlive-genericextra'
+ 'texlive-plainextra'
+ 'texlive-core-libre')
url='http://tug.org/texlive/'
mksource=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
noextract=("$pkgname-$pkgver-src.zip")
source=("https://repo.parabola.nu/other/$_pkgname/$_pkgname-$pkgver-src.tar.xz"
"$pkgname.maps"
"$pkgname.fmts"
+ "mktexlsr.hook"
+ "mktexlsr.script"
+ "texlive-updmap.hook"
+ "texlive-updmap.script"
+ "texlive-fmtutil.hook"
+ "texlive-fmtutil.script"
"texmf.cnf"
"texmfcnf.lua"
"09-texlive-fonts.conf")
+sha256sums=('442852ef075b8851086eef4036f4494d6c128a69c9b2003e6e776d0bb499ffdf'
+ '275253728d884b2b75e01840b0824c1fe5afbdda91fafeacd33deb6cd92341a3'
+ '009ab6be9e4fa18709fc74d26a3777372f4b5af9313421ff0546ba94a9d5ff13'
+ '1d62d46d4d3a538ccad48d31192fccdfc8d6c0a60b331575a10a007d46812d46'
+ '05afeae62a5d4c9de79c838c9636e2aefe9ad1d6b787fed4e5930c13baf60eba'
+ '9a0e462ad44d2ced432860ff62288b1c2f55b04c8d0c92887672478752417cf4'
+ '539a6face78ba7c18c8001769f0047ab3248fc7db777832f8eecec33877f4944'
+ '1f2c67e3cab02398980008f3095257ade3bb79f188cf0815a2671af3080e21af'
+ 'f96e9f815fa0a4b85e677f2a9215d9106b8abe46eceb3f3e36a6c76eda3e4a85'
+ '59236d61760bf89142a347d6d5b3e59c5daec4e430d12d25cc1d5c6528688f75'
+ '0b6c3ee516608ce04d7133db52cadfa1be5d885b3f82bb39dc5897b213847e0d'
+ '5e79c40cf3ab93348fc89e97890198601767ea2c8fea89ea76088c17a2b35962')
install=texlive.install
backup=(etc/texmf/web2c/texmf.cnf \
etc/texmf/chktex/chktexrc \
@@ -48,13 +74,7 @@ backup=(etc/texmf/web2c/texmf.cnf \
etc/texmf/web2c/fmtutil.cnf \
etc/texmf/web2c/mktex.cnf \
etc/texmf/xdvi/XDvi)
-mksha256sums=('9dbff2097ca56b8a7f9aa8648b71f1dcbdf39bcdad4cc46afbe2d5b6e5f67edc')
-sha256sums=('0b2c8b35e323057cfa7e8aeea1e91947d60c8c9c16cef9ae4083da7ddef8732d'
- '275253728d884b2b75e01840b0824c1fe5afbdda91fafeacd33deb6cd92341a3'
- '009ab6be9e4fa18709fc74d26a3777372f4b5af9313421ff0546ba94a9d5ff13'
- 'cca1d0b92a103d43dff7fa3f1a40bdec879e9efc122ac415f54701c36a7c94ee'
- '0b6c3ee516608ce04d7133db52cadfa1be5d885b3f82bb39dc5897b213847e0d'
- '5e79c40cf3ab93348fc89e97890198601767ea2c8fea89ea76088c17a2b35962')
+mksha256sums=('2bc3d2afff271b7c28650aa6e398977597e85cb4850f97a41925e8f61f36d2e9')
mksource() {
mkdir $pkgname-$pkgver
@@ -73,20 +93,20 @@ mksource() {
}
prepare() {
- cd $srcdir/$pkgname-$pkgver
+ 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 {doc,source} || true
+ rm -rf source doc
# remove nonfree packages references 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
+ sed -i '/pltext.map/d' texmf-dist/web2c/updmap.cfg
# remove nonfree packages references from texlive-core.maps
sed -i '/ccpl.map/d' $srcdir/$pkgname.maps
@@ -106,7 +126,9 @@ prepare() {
}
package() {
- cd $srcdir/$pkgname-$pkgver
+ 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
@@ -147,7 +169,7 @@ package() {
cp -a "$pkgdir"/usr/share/texmf-dist/web2c/updmap-hdr.cfg \
"$pkgdir"/etc/texmf/web2c/
cp -a "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil-hdr.cnf \
- "$pkgdir"/etc/texmf/web2c/fmtutil.cnf
+ "$pkgdir"/etc/texmf/web2c/fmtutil.cnf
cp -a "$pkgdir"/usr/share/texmf-dist/dvips/config/config.ps \
"$pkgdir"/etc/texmf/dvips/config/
cp -a "$pkgdir"/usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg \
@@ -187,6 +209,14 @@ package() {
mv "$pkgdir"/usr/share/texmf-dist/tlpkg "$pkgdir"/usr/share
rm -rf "$pkgdir"/usr/share/tlpkg/tlpobj
+ ## install pacman hooks
+ install -D -m644 ${srcdir}/mktexlsr.hook "$pkgdir/usr/share/libalpm/hooks/mktexlsr.hook"
+ install -D -m644 ${srcdir}/texlive-updmap.hook "$pkgdir/usr/share/libalpm/hooks/texlive-updmap.hook"
+ install -D -m644 ${srcdir}/texlive-fmtutil.hook "$pkgdir/usr/share/libalpm/hooks/texlive-fmtutil.hook"
+ install -D -m755 ${srcdir}/mktexlsr.script "$pkgdir/usr/share/libalpm/scripts/mktexlsr"
+ install -D -m755 ${srcdir}/texlive-updmap.script "$pkgdir/usr/share/libalpm/scripts/texlive-updmap"
+ install -D -m755 ${srcdir}/texlive-fmtutil.script "$pkgdir/usr/share/libalpm/scripts/texlive-fmtutil"
+
# copy config file to texmf-config
#mkdir -p $pkgdir/etc/texmf/tex/context/config
#cp -a $pkgdir/usr/share/texmf-dist/tex/context/config/cont-usr.tex \
@@ -229,6 +259,7 @@ de-macro/de-macro
dosepsbin/dosepsbin.pl
dtxgen/dtxgen
dviasm/dviasm.py
+dviinfox/dviinfox.pl
epstopdf/epstopdf.pl
findhyph/findhyph
fontools/afm2afm
@@ -237,7 +268,9 @@ fontools/ot2kpx
fragmaster/fragmaster.pl
installfont/installfont-tl
latex-git-log/latex-git-log
+latex-papersize/latex-papersize.py
latex2man/latex2man
+latex2nemeth/latex2nemeth
latexdiff/latexdiff-vc.pl
latexdiff/latexdiff.pl
latexdiff/latexrevise.pl
@@ -249,6 +282,7 @@ ltxfileinfo/ltxfileinfo
ltximg/ltximg.pl
lua2dox/lua2dox_filter
luaotfload/luaotfload-tool.lua
+lwarp/lwarpmk.lua
make4ht/make4ht
match_parens/match_parens
mf2pt1/mf2pt1.pl
@@ -268,6 +302,7 @@ pdfjam/pdfjam-slides6up
pdfjam/pdfjoin
pdfjam/pdfnup
pdfjam/pdfpun
+pdflatexpicscale/pdflatexpicscale.pl
pdfxup/pdfxup
pfarrei/a5toa4.tlu
pfarrei/pfarrei.tlu
@@ -282,6 +317,16 @@ srcredact/srcredact.pl
sty2dtx/sty2dtx.pl
texcount/texcount.pl
tex4ebook/tex4ebook
+tex4ht/ht.sh
+tex4ht/htcontext.sh
+tex4ht/htlatex.sh
+tex4ht/htmex.sh
+tex4ht/httex.sh
+tex4ht/httexi.sh
+tex4ht/htxelatex.sh
+tex4ht/htxetex.sh
+tex4ht/mk4ht.pl
+tex4ht/xhlatex.sh
texdef/texdef.pl
texdiff/texdiff
texdirflatten/texdirflatten
@@ -294,6 +339,7 @@ texlive/dvi2fax.sh
texlive/dvired.sh
texlive/e2pall.pl
texlive/fmtutil-sys.sh
+texlive/fmtutil-user.sh
texlive/fmtutil.pl
texlive/fontinst.sh
texlive/kpsetool.sh
@@ -306,6 +352,7 @@ texlive/texconfig-sys.sh
texlive/texconfig.sh
texlive/texlinks.sh
texlive/updmap-sys.sh
+texlive/updmap-user.sh
texlive/updmap.pl
texliveonfly/texliveonfly.py
texloganalyser/texloganalyser