Package Details: uswsusp-git 1.0-9

Git Clone URL: (read-only, click to copy)
Package Base: uswsusp-git
Description: Userspace software suspend - git checkout
Upstream URL:
Licenses: GPL
Conflicts: uswsusp
Provides: uswsusp
Submitter: jackoneill
Maintainer: iFreilicht
Last Packager: iFreilicht
Votes: 161
Popularity: 0.001844
First Submitted: 2010-12-17 20:59 (UTC)
Last Updated: 2021-03-31 14:40 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

dreieck commented on 2024-04-16 09:36 (UTC)

You download the latest state from a git repository.

So you must write a proper pkgver() function that ensures increading $pkgver with each upstream commit. Cf. Arch Linux VCS package guidelines.

Regards and thanks for maintaining!

glyn commented on 2022-11-25 19:06 (UTC) (edited on 2022-11-25 21:12 (UTC) by glyn)

Attempted to install this (on arch 2022.11.01, kernel 6.0.9) by cloning the repo and issuing makepkg -i. The build consistently fails because the directory m4 already exists. Tried git clean -dfx with no improvement. The repo is at c19b3fe44. Am I doing something wrong?

vitor_hideyoshi commented on 2021-03-31 17:21 (UTC)

Now the version is 1.0-9 and everything is working flawlessly, thanks a lot for the quick response and congratulation the maintainership of the package @iFreilicht!

iFreilicht commented on 2021-03-31 14:40 (UTC)

@vitor_hideyoshi I updated the package once more, can you check whether paru is "updating" it properly now?

vitor_hideyoshi commented on 2021-03-31 14:29 (UTC) (edited on 2021-03-31 17:53 (UTC) by vitor_hideyoshi)

Found what you want @iFreilicht. Just remove this block of code from the PKGBUILD and you can set your version number to 1.0:

pkgver() {
    cd suspend-utils/

    if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
        echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")"
        echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")"

vitor_hideyoshi commented on 2021-03-31 13:32 (UTC)

@iFreilicht no it doesn't get solved just by reinstalling uswsusp-git, but you last commit did fix the bug, thanks a lot for that. If i figure out how to maintain the version name to 1.0 format instead of the commit release it post a comment here.

iFreilicht commented on 2021-03-31 13:16 (UTC) (edited on 2021-03-31 13:17 (UTC) by iFreilicht)

Wouldn't this be fixed if you just re-installed uswsusp-git? I'm not sure how to properly fix this. For now, I reverted the version number change, but I'd like to have the version indeed be 1.0, which would be less confusing.

Can you confirm the revert fixed your issue?

vitor_hideyoshi commented on 2021-03-30 02:16 (UTC)

Since the last update paru has been trying to upgrade uswsusp-git from (0.r501.g668c5f7-1 => 1.0-8), and by this entering in a loop because 1.0-8 and 0.r501.g668c5f7-1 are the same release. I think that this is a problem in the versioning name of the git commit and the release version. To prevent my AUR helper from updating the software to the same version as if was new i had to add uswsusp-git to my pacman ignorelist.