Package Details: rubber-git 1:1.5.1.r902.a391fa2-1

Git Clone URL: (read-only, click to copy)
Package Base: rubber-git
Description: A wrapper for LaTeX and friends, latest git version.
Upstream URL:
Licenses: GPL
Conflicts: rubber
Provides: rubber
Replaces: rubber-bzr, rubber-darcs
Submitter: spider-mario
Maintainer: spider-mario
Last Packager: spider-mario
Votes: 4
Popularity: 0.000000
First Submitted: 2017-01-03 23:09 (UTC)
Last Updated: 2020-07-23 11:21 (UTC)

Required by (2)

Sources (1)

Latest Comments

spider-mario commented on 2017-01-17 22:48 (UTC)

The current pkgver() function does have problems, but not that of being fixed: there just hasn’t been a commit in four months. :) If you create a commit manually and run the current `git describe`-based command, you will see that it correctly produces 1.4.14.(hash) instead of the current 1.4.13.(hash). Nonetheless, it does lack the r that the packaging guidelines mention as important (although another option would be to change the tag to something like I will update the function soon, thanks for the suggestion.

parantapa commented on 2017-01-13 12:15 (UTC)

The current pkgver() produces a fixed version number (and doesn't change as the git repo updates) as the rubber source git repo doesn't define any tags. Could you please change the pkgver() function to the following: pkgver() { local p1 p2 p3 cd "$srcdir/rubber" p1="$(grep -P '^Version' NEWS | head -n 1 | cut -d ' ' -f 2)" p2="$(git rev-list --count HEAD)" p3="$(git rev-parse --short HEAD)" printf "%s.r%s.%s" "$p1" "$p2" "$p3" } This function gets the major version from the NEWS file (which seems to contain the tag information) and adds the number of revisions and short commit code to the package version. This is in accordance with the suggestions given in the arch wiki for cases where the git repo doesn't maintain tags[1]. [1]