summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1fbf577888f8..7cf9d0ab0376 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = context-modules
pkgdesc = ConTeXt LMTX with all ConTeXt Garden modules
pkgver = 2022.08.25_19.21
- pkgrel = 1
+ pkgrel = 2
url = https://wiki.contextgarden.net/Installation
arch = x86_64
license = GPL
provides = context
provides = context-lmtx
+ conflicts = context
source = http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index a6f9c577af04..4e67855d7fea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=context
pkgname=${_pkgname}-modules
pkgver=2022.08.25_19.21
-pkgrel=1
+pkgrel=2
pkgdesc='ConTeXt LMTX with all ConTeXt Garden modules'
arch=('x86_64')
url="https://wiki.contextgarden.net/Installation"
@@ -11,7 +11,7 @@ license=(GPL)
depends=()
replaces=()
provides=(${_pkgname} ${_pkgname}-lmtx)
-conflicts=()
+conflicts=(${_pkgname})
optdepends=()
source=("http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip")
sha256sums=(SKIP)
@@ -20,12 +20,8 @@ prepare() {
cd "${srcdir}"
# https://wiki.contextgarden.net/Modules#ConTeXt_LMTX
- # Synchronize all modules from the ConTeXt Garden in the directory 'modules' which is created if it doesn't exist.
- rsync -rltv --del rsync://contextgarden.net/minimals/current/modules/ modules
- # Create the union of all modules in tex/texmf-modules (the directory is created if it doesn't exist).
- # If you have personal modules in tex/texmf-modules, they won't be modified.
- mkdir -p tex
- rsync -rlt --exclude=/VERSION --del modules/*/ tex/texmf-modules
+ # Synchronize all modules from the ConTeXt Garden in the directory 'modules'
+ rsync --recursive --links --times --info=progress2,remove,symsafe,flist,del --human-readable --del rsync://contextgarden.net/minimals/current/modules/ modules
chmod +x install.sh
./install.sh
@@ -37,6 +33,8 @@ package() {
install -d "$context"
cp -r texmf texmf-context "$context"
+ # Create the union of all modules in tex/texmf-modules.
+ rsync -rlt --exclude=/VERSION --del ../modules/*/ "$context"/texmf-modules
install -Dt "${pkgdir}/usr/local/bin" texmf-linux-64/bin/*
}