Package Details: texlive-localmanager-git 0.7-2

Git Clone URL: https://aur.archlinux.org/texlive-localmanager-git.git (read-only, click to copy)
Package Base: texlive-localmanager-git
Description: A shell and command-line utility to manage TeXLive on Arch Linux
Upstream URL: http://wiki.archlinux.org/index.php?title=TeXLive#TeXLive_Local_Manager
Licenses: GPL
Conflicts: texlive-localmanager
Provides: texlive-localmanager=0.7
Submitter: XZS
Maintainer: XZS
Last Packager: XZS
Votes: 63
Popularity: 0.056895
First Submitted: 2015-08-18 18:49
Last Updated: 2020-02-08 16:44

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

hv15 commented on 2020-01-04 09:13

Hi all, here's a patch for the PKGBUILD which makes use of @sharethewisdom and @cobaltspace changes. I've tested this and works for me :)

diff --git a/PKGBUILD b/PKGBUILD
index 5248f31..44fd4ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 # Contributor: Firmicus <francois . archlinux . org>

 pkgname=texlive-localmanager-git
-pkgver=0.7
+pkgver=v0.7.r1.gdaa34cf
 pkgrel=2
 pkgdesc="A shell and command-line utility to manage TeXLive on Arch Linux"
 arch=('any')
@@ -19,20 +19,22 @@ depends=('texlive-core>=2011'
 install='tllocalmgr.install'

 _giturl="git://projects.archlinux.org/users/remy/${pkgname%-git}.git"
-makedepends+=('git')
-source+=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}")
-for integ in $(get_integlist)
-do
-  typeset -n array="${integ}sums"
-  array+=('SKIP')
-done
-provides+=("$_gitname=$pkgver")
-conflicts+=("$_gitname")
+makedepends=('git')
+source=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}"
+        'https://gist.githubusercontent.com/hv15/847bb2bb56db9f2e1d736e19209bd5fb/raw/b11c566338f52764277d8e369221427272d01c8e/tllocalmgr.patch')
+sha256sums=('SKIP'
+            '2833cfef3e7b8b53d6eaaf58c370ac2a57a65fd8b681918c8efaee2edf79f0d6')
+provides=("$_gitname=$pkgver")
+conflicts=("$_gitname")
+
 pkgver() {
   cd ${_gitname:-$pkgname}
-  git describe --long --tags 2>/dev/null | sed 's/[^[:digit:]]*\(.\+\)-\([[:digit:]]\+\)-g\([[:xdigit:]]\{7\}\)/\1.r\2.g\3/;t;q1'
-  [ ${PIPESTATUS[0]} -ne 0 ] && \
-printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+  cd $_gitname
+  patch -p0 < "$srcdir/tllocalmgr.patch"
 }

 package() {

Cirelli94 commented on 2020-01-03 09:35

@hv15 here is my patch for pkgver, the latest still doesn't work well https://bin.disroot.org/?972befbd3c5578fe#G2gyfMGQm8zoXNUaS5vZ1Jg62iygThna7LskXDatNFdp

hv15 commented on 2020-01-02 15:10

I've updated @sharethewisdom's tllocalmgr patch with new year (Happy New Year everyone!). https://gist.github.com/hv15/847bb2bb56db9f2e1d736e19209bd5fb

Cirelli94 commented on 2020-01-02 14:14

I can confirm, @cobaltspace solution works. @XZS, thanks in advance

sharethewisdom commented on 2019-12-06 13:21

@XZS could you please adopt the pkgver() function change recommended by @cobaltspace a month ago? thanks.

hv15 commented on 2019-11-17 16:22

Thanks @sharethewisdom!

sharethewisdom commented on 2019-11-17 15:30

https://gist.github.com/sharethewisdom/1e707a41f50dbb32e9258510e019d442

hv15 commented on 2019-11-12 15:45

Hi, I noticed in the perl script that $YEAR is set to 2018, is this still valid?

pontus commented on 2019-11-07 14:51

Thanks @cobaltspace, also confirming w/ @RealOrRandom that adjusting PKGBUILD with this 'pkgver()' change works! Needed tllocalmgr to resolve a lgrenc.def dependency, found in the greek-fontenc package. Installed the package with tllocalmgr and all is good.

RealOrRandom commented on 2019-11-04 14:22

I can confirm that the function by cobaltspace makes the package install and results in the correct version string.