Package Details: auto-cpufreq-git 1.3.r151.6f729ed-1

Git Clone URL: https://aur.archlinux.org/auto-cpufreq-git.git (read-only, click to copy)
Package Base: auto-cpufreq-git
Description: Automatic CPU speed & power optimizer
Upstream URL: https://github.com/AdnanHodzic/auto-cpufreq
Licenses: LGPL-3.0
Conflicts: auto-cpufreq
Provides: auto-cpufreq
Submitter: crian
Maintainer: crian
Last Packager: crian
Votes: 9
Popularity: 1.32
First Submitted: 2020-01-07 09:54
Last Updated: 2020-09-13 06:17

Pinned Comments

OlexandrCh commented on 2020-08-13 20:44

Currently, we don't need to run --install on AUR
After installing from AUR, we need to start the systemd service.
systemctl enable auto-cpufreq
systemctl start auto-cpufreq

and check if it enabled and running with
systemctl status auto-cpufreq

Latest Comments

1 2 3 Next › Last »

yochananmarqos commented on 2020-09-13 03:45

As of v1.3, this no longer requires inxi.

yochananmarqos commented on 2020-09-02 15:18

@crian: Oh, I see. Use this:

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    local srcversion="$(grep "version: '" snap/snapcraft.yaml | cut -d "'" -f 2)"
    printf "%s.r%s.%s" $srcversion "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
1.2.2.r136.4c2670c

crian commented on 2020-09-02 14:36

@yochananmarqos: because the tags couldn't be fetched. Throws out an error during the pkg build. Don't know what upstream has done to cause this.

yochananmarqos commented on 2020-09-02 13:59

@crian: Why did you change the pkgver()? r < 1, so it will now appear as a downgrade. Please revert the change as tags should be used.

OlexandrCh commented on 2020-08-13 20:44

Currently, we don't need to run --install on AUR
After installing from AUR, we need to start the systemd service.
systemctl enable auto-cpufreq
systemctl start auto-cpufreq

and check if it enabled and running with
systemctl status auto-cpufreq

yochananmarqos commented on 2020-08-10 01:06

Please remove the v from the tag with s/^v//:

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

yochananmarqos commented on 2020-08-06 20:14

inxi is also required with the --debug flag.

yochananmarqos commented on 2020-08-05 22:24

This no longer requires python-power, see this commit.

I had to tweak a few things, see my updated PKGBUILD.

crian commented on 2020-05-19 12:56

@Asutorufa fixed

yochananmarqos commented on 2020-05-18 21:26

@Asutorufa: That's not necessary. Just use sed to change the path:

prepare() {
    cd "$srcdir/${pkgname%-git}"
    sed -i 's|usr/local|usr|g' "scripts/${pkgname%-git}.service"
}