Package Details: gnome-shell-extension-caffeine-git 53.r0.gfc5fad1-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: Disable the screensaver and auto suspend
Upstream URL: https://github.com/eonpatapon/gnome-shell-extension-caffeine
Licenses: GPL-2.0-or-later
Conflicts: gnome-shell-extension-caffeine
Provides: gnome-shell-extension-caffeine
Submitter: XZS
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 39
Popularity: 0.008716
First Submitted: 2014-01-30 15:46 (UTC)
Last Updated: 2024-03-25 20:26 (UTC)

Latest Comments

1 2 3 Next › Last »

Antiz commented on 2023-10-15 20:07 (UTC)

@yochananmarqos No problem ;) Thanks

yochananmarqos commented on 2023-10-15 20:06 (UTC)

@Antiz: Done. Sorry for the delay.

yochananmarqos commented on 2023-10-10 18:30 (UTC)

@Antiz: Ah, good point. I guess I'll have to do that for every applicable GNOME Shell extension package I maintain.

I normally run namcap (even though Allan says it's crap :D), but I guess I haven't been on extensions.

Antiz commented on 2023-10-10 18:08 (UTC) (edited on 2023-10-10 18:21 (UTC) by Antiz)

@yochananmarqos

@Antiz: That's already "...the default behavior if tar is run as non-root." See https://man.freebsd.org/cgi/man.cgi?query=bsdtar&sektion=1&format=html

Yes, it's the default behavior for non-root users but makepkg uses (fake)root for the package function so this option is not set by default here.
You can check the namcap output (gnome-shell-extension-caffeine-git E: File usr/share/gnome-shell/extensions/caffeine@patapon.info/extension.js is owned by user:user [...]) or ls -l /usr/share/gnome-shell/extensions/caffeine@patapon.info/ to verify ;)

yochananmarqos commented on 2023-10-10 17:16 (UTC)

@Antiz: That's already "...the default behavior if tar is run as non-root." See https://man.freebsd.org/cgi/man.cgi?query=bsdtar&sektion=1&format=html

Antiz commented on 2023-10-10 11:20 (UTC)

Hi!

You could add the --no-same-owner flag to the bsdtar cmd to avoid the files in /usr/share/gnome-shell/extensions/caffeine@patapon.info not belonging to root:root.

yochananmarqos commented on 2023-02-09 21:16 (UTC)

@zed123: It works now. ;)

Kubax commented on 2023-02-09 20:43 (UTC)

I switched to gnome-shell-extension-espresso some time ago.

I dropped the package, feel free to take over and patch the package :)

zed123 commented on 2023-02-09 20:37 (UTC)

Extension doesn't work anymore. The folder preferences need to be copied to /usr/share/gnome-shell/extensions/caffeine@patapon.info/

ignapk commented on 2020-08-12 13:46 (UTC) (edited on 2020-08-12 16:27 (UTC) by ignapk)

@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'
}