summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxeruf2022-09-19 13:13:55 +0200
committerxeruf2022-09-19 13:13:55 +0200
commit7eb5d92626bcc553228c66233f54e1c802bb098d (patch)
treefdf437d859ed2134d5c4b365fddde492c9da722c
parentb905123c322a26ff75b338a0b54348c15a0d664d (diff)
downloadaur-context.tar.gz
Re-add post_install instructions properly
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--context.install6
3 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96bca6b019e2..5ca934553a9a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index b0f3c727bafc..6f43894d3b1b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}"
+}