Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - rubber-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: rubber-git 1:1.4.r776.675bfe3-1

Git Clone URL: https://aur-dev.archlinux.org/rubber-git.git (read-only)
Package Base: rubber-git
Description: A wrapper for LaTeX and friends, latest git version.
Upstream URL: https://launchpad.net/rubber
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.635923
First Submitted: 2017-01-03 23:09
Last Updated: 2017-01-17 23:09

Required by (1)

Sources (1)

Latest Comments

spider-mario commented on 2017-01-17 22:48

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 1.4.0.0). I will update the function soon, thanks for the suggestion.

parantapa commented on 2017-01-13 12:15

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] https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver.28.29_function