Package Details: gnome-shell-extension-caffeine-git r130-1

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-caffeine-git.git (read-only, click to copy)
Package Base: gnome-shell-extension-caffeine-git
Description: Fill the cup to inhibit auto suspend and screensaver.
Upstream URL: https://github.com/eonpatapon/gnome-shell-extension-caffeine
Licenses: GPLv2
Conflicts: gnome-shell-extension-caffeine
Provides: gnome-shell-extension-caffeine=r130
Submitter: XZS
Maintainer: XZS
Last Packager: XZS
Votes: 38
Popularity: 0.000710
First Submitted: 2014-01-30 15:46
Last Updated: 2017-05-13 00:03

Latest Comments

1 2 Next › Last »

ignapk commented on 2020-08-12 13:46

@lunaryorn to fix pkgver function replace it in PKGBUILD with:

pkgver() {
  cd ${_gitname:-$pkgname}
  ( set -o pipefail
    git describe --long --tags 2>/dev/null | sed 's/[^[:digit:]]*\(.\+\)-\([[:digit:]]\+\)-g\([[:xdigit:]]\{7\}\)/\1.r
\2.g\3/;t;q1' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

EDIT: or, even better, replace it with this tag-only approach for simplicity:

pkgver() {
  cd ${_gitname:-$pkgname}
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

lunaryorn commented on 2020-04-26 18:22

I get a failure in pkgver:

==> Extracting sources...
  -> Creating working copy of gnome-shell-extension-caffeine git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> ERROR: A failure occurred in pkgver().
    Aborting.

zed123 commented on 2019-08-14 15:40

@XZS Can you please remove the unify_conveniencejs section from the PKGBUILD?

nickcis commented on 2019-04-02 03:06

Currently, there is a PR ( https://github.com/eonpatapon/gnome-shell-extension-caffeine/pull/137 ) which fixes the icon bug.

JulianXhokaxhiu commented on 2019-03-17 19:09

For anyone having issues on Gnome 3.32:

package_03_unify_conveniencejs() {
  ln -fs \
    ../user-theme@gnome-shell-extensions.gcampax.github.com/convenience.js \
    "$destdir/convenience.js"
}
  • Build and install the package as usual

Enjoy

183.amir commented on 2019-03-16 11:38

I agree. It is clearly mentioned that caffeine is not maintained anymore and the best alternative is https://github.com/qunxyz/gnome-shell-extension-caffeine

houbaron commented on 2018-10-05 11:53

Maybe we should switch to https://github.com/qunxyz/gnome-shell-extension-caffeine .

getzze commented on 2017-10-19 18:52

The .install file is not needed, pacman hooks recompile the schemas automatically

postadelmaga commented on 2017-05-07 16:31

I got these errors, installing it with yaourt:

==> ERROR: Integrity checks are missing for: source
==> ERROR: Makepkg was unable to build gnome-shell-extension-caffeine-git.

XZS commented on 2017-01-17 22:38

It seems you have altered your PATH variable. I suspect keeping an unexpanded ~ there could have far worse implications than prohibiting the installation of a package. Replacing "~/bin" with "/home/youruser/bin" should be more secure.

But you may have your reasons to do so, so concerning only this package, try to execute aura with an unmodified PATH or forge it, for example by executing "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin aura -A gnome-shell-extension-caffeine-git"