diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | context.install | 6 |
3 files changed, 10 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = context pkgdesc = ConTeXt LMTX, the Lean and Mean TeX eXperience with Lua, MetaPost, TeX, and XML - pkgver = 2022.09.10_02.44 + pkgver = 2022.09.11_20.44 pkgrel = 1 url = https://wiki.contextgarden.net/Installation + install = context.install arch = x86_64 license = GPL provides = context @@ -2,7 +2,7 @@ _pkgname=context pkgname=${_pkgname} -pkgver=2022.09.10_02.44 +pkgver=2022.09.11_20.44 pkgrel=1 pkgdesc='ConTeXt LMTX, the Lean and Mean TeX eXperience with Lua, MetaPost, TeX, and XML' arch=('x86_64') @@ -15,6 +15,7 @@ conflicts=(${_pkgname}) optdepends=() source=("http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip") sha256sums=(SKIP) +install=${_pkgname}.install prepare() { cd "${srcdir}" diff --git a/context.install b/context.install new file mode 100644 index 000000000000..f46be4fd0a75 --- /dev/null +++ b/context.install @@ -0,0 +1,6 @@ +post_install() { + _contextshare=/usr/share/texmf-dist/texmf-context + test -d "$_contextshare" || exit $? + echo "Add the following to your environment and run it now to use ConTeXt immediately: + export TEXMF=${_contextshare}" +} |