summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Nikolai Viessmann2020-06-29 22:45:29 +0200
committerXZS2022-09-13 14:08:00 +0200
commit0aae9ff6bf58c916298c8e2b63c9c8e356f25640 (patch)
tree5243e6062d81148ae528cf1383351903b16eb079
parent69ea32ebeb77f38753a62ad34fb9856805b907df (diff)
downloadaur-0aae9ff6bf58c916298c8e2b63c9c8e356f25640.tar.gz
add support for TeXLive 2020
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
-rw-r--r--tllocalmgr-2020.patch13
3 files changed, 24 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d047412d5ef..92035c00cbff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = texlive-localmanager-git
pkgdesc = A shell and command-line utility to manage TeXLive on Arch Linux
pkgver = v0.7.r3.gbbd8488
- pkgrel = 4
+ pkgrel = 5
url = https://git.archlinux.org/users/remy/texlive-localmanager.git/
arch = any
license = GPL
makedepends = git
depends = texlive-core>=2011
+ depends = texlive-core<2021
depends = perl-libwww
depends = perl-term-shellui
depends = perl-term-readline-gnu
@@ -15,9 +16,11 @@ pkgbase = texlive-localmanager-git
provides = texlive-localmanager=v0.7.r3.gbbd8488
conflicts = texlive-localmanager
source = texlive-localmanager::git+http://git.archlinux.org/users/remy/texlive-localmanager.git
+ source = tllocalmgr-2020.patch
source = tllocalmgr-enhance.patch
source = tllocalmgr-fix-texlive-local-match.patch
sha256sums = SKIP
+ sha256sums = cdd88b9d8b87fcd6117a3ef6c9dd69ac1103a15beb966d64f2ad1996b574a1f1
sha256sums = 22222ff329919ee6a16ffd489b0213b14f8169d9daf6ef1a82aa5ab37538c236
sha256sums = a7698d0076f4e1a7ef401899c174ed9a290674a7e89e9c818ba078e17548c6e7
diff --git a/PKGBUILD b/PKGBUILD
index c009a3a30fa8..826781505b3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=texlive-localmanager-git
_pkgname="${pkgname%-git}"
pkgver=v0.7.r3.gbbd8488
-pkgrel=4
+pkgrel=5
pkgdesc='A shell and command-line utility to manage TeXLive on Arch Linux'
arch=('any')
url='https://git.archlinux.org/users/remy/texlive-localmanager.git/'
@@ -15,6 +15,7 @@ license=('GPL')
provides=("texlive-localmanager=$pkgver")
conflicts=('texlive-localmanager')
depends=('texlive-core>=2011'
+ 'texlive-core<2021'
'perl-libwww'
'perl-term-shellui'
'perl-term-readline-gnu'
@@ -23,9 +24,11 @@ depends=('texlive-core>=2011'
makedepends=('git')
source=("${_pkgname}::git+http://git.archlinux.org/users/remy/texlive-localmanager.git"
+ 'tllocalmgr-2020.patch'
'tllocalmgr-enhance.patch'
'tllocalmgr-fix-texlive-local-match.patch')
sha256sums=('SKIP'
+ 'cdd88b9d8b87fcd6117a3ef6c9dd69ac1103a15beb966d64f2ad1996b574a1f1'
'22222ff329919ee6a16ffd489b0213b14f8169d9daf6ef1a82aa5ab37538c236'
'a7698d0076f4e1a7ef401899c174ed9a290674a7e89e9c818ba078e17548c6e7')
@@ -37,6 +40,9 @@ pkgver() {
prepare() {
cd "$_pkgname"
+ # update to handle texlive-2020 releases
+ patch -p1 < "$srcdir/tllocalmgr-2020.patch"
+
# enhances the tllocalmgr script a bit
# thanks: @sharethewisdom and @cobaltspace
patch -p1 < "$srcdir/tllocalmgr-enhance.patch"
diff --git a/tllocalmgr-2020.patch b/tllocalmgr-2020.patch
new file mode 100644
index 000000000000..568f0f0d2228
--- /dev/null
+++ b/tllocalmgr-2020.patch
@@ -0,0 +1,13 @@
+diff --git a/tlpkg/TeXLive/TLConfig.pm b/tlpkg/TeXLive/TLConfig.pm
+index e27f70b..b6e5101 100644
+--- a/tlpkg/TeXLive/TLConfig.pm
++++ b/tlpkg/TeXLive/TLConfig.pm
+@@ -57,7 +57,7 @@ BEGIN {
+
+ # the year of our release, will be used in the location of the
+ # network packages, and in menu names, and other places.
+-$ReleaseYear = 2019;
++$ReleaseYear = 2020;
+
+ # users can upgrade from this year to the current year; might be the
+ # same as the release year, or any number of releases earlier.