diff options
author | Hans-Nikolai Viessmann | 2020-06-29 22:45:29 +0200 |
---|---|---|
committer | Hans-Nikolai Viessmann | 2020-06-29 22:45:29 +0200 |
commit | 9b6a3666cb736b9574967fa37836ad7766267725 (patch) | |
tree | 7d3761b883e1bce8a8ffe96f5a2620471bde4b94 | |
parent | 36dfb5d6c28dd3f2a68d52118636dbff01a731d0 (diff) | |
download | aur-9b6a3666cb736b9574967fa37836ad7766267725.tar.gz |
add support for TeXLive 2020
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | tllocalmgr-2020.patch | 13 |
3 files changed, 24 insertions, 2 deletions
@@ -1,12 +1,13 @@ pkgbase = tllocalmgr-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 @@ -16,9 +17,11 @@ pkgbase = tllocalmgr-git conflicts = texlive-localmanager conflicts = texlive-localmanager-git 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 @@ -7,7 +7,7 @@ pkgname=tllocalmgr-git _pkgname='texlive-localmanager' 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/' @@ -16,6 +16,7 @@ provides=("texlive-localmanager=$pkgver") conflicts=('texlive-localmanager' 'texlive-localmanager-git') depends=('texlive-core>=2011' + 'texlive-core<2021' 'perl-libwww' 'perl-term-shellui' 'perl-term-readline-gnu' @@ -24,9 +25,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') @@ -38,6 +41,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. |